Skip to content

Commit

Permalink
fix: use bearer as authorization header prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
anbraten committed Mar 25, 2024
1 parent 9e2abf4 commit 40ddf20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function giteaApi<SecurityDataType = unknown>(
return {
secure: true,
headers: {
Authorization: `token ${options.token}`,
Authorization: `Bearer ${options.token}`,
},
};
},
Expand Down

0 comments on commit 40ddf20

Please sign in to comment.