Skip to content

Commit

Permalink
Change CLX-Authorization header to Authorization #178
Browse files Browse the repository at this point in the history
  • Loading branch information
hupf committed Jun 19, 2024
1 parent 6b1aadf commit 6c78383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ async function fetchApi<T = unknown>(
}

const headers = new Headers({
"CLX-Authorization": `token_type=urn:ietf:params:oauth:token-type:jwt-bearer, access_token=${accessToken}`,
Authorization: `Bearer ${accessToken}`,
"Content-Type": "application/json",
});

Expand Down

0 comments on commit 6c78383

Please sign in to comment.