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

Commit 42091a5

Browse files
t3chguygithub-actions[bot]
authored andcommitted
Send Content-Type: application/json header for integration manager /register API (#9490)
(cherry picked from commit 1497089)
1 parent 9ffba57 commit 42091a5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ScalarAuthClient.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,9 @@ export default class ScalarAuthClient {
190190
const res = await fetch(scalarRestUrl, {
191191
method: "POST",
192192
body: JSON.stringify(openidTokenObject),
193+
headers: {
194+
"Content-Type": "application/json",
195+
},
193196
});
194197

195198
if (!res.ok) {

0 commit comments

Comments
 (0)