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

Commit

Permalink
Send Content-Type: application/json header for integration manager /r…
Browse files Browse the repository at this point in the history
…egister API (#9490)
  • Loading branch information
t3chguy authored Oct 24, 2022
1 parent d702f4a commit 1497089
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ScalarAuthClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,9 @@ export default class ScalarAuthClient {
const res = await fetch(scalarRestUrl, {
method: "POST",
body: JSON.stringify(openidTokenObject),
headers: {
"Content-Type": "application/json",
},
});

if (!res.ok) {
Expand Down

0 comments on commit 1497089

Please sign in to comment.