Skip to content

Commit

Permalink
Use Bearer token for report API
Browse files Browse the repository at this point in the history
  • Loading branch information
aaga committed Feb 23, 2024
1 parent 5f9b077 commit 7fb7aee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/report/ReportModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ async function submitReport() {
const accessToken = client?.value?.config?.props?.accessToken
if (accessToken)
headers.Authorization = accessToken
headers.Authorization = `Bearer ${accessToken}`
await fetch(reportUrl, {
method: 'POST',
Expand Down

0 comments on commit 7fb7aee

Please sign in to comment.