Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #100 from MozillaSocial/aaga-patch-1
Browse files Browse the repository at this point in the history
fix(reports): Use Bearer token for report API
  • Loading branch information
aaga authored Feb 23, 2024
2 parents 5f9b077 + 7fb7aee commit 0572648
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 0572648

Please sign in to comment.