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

Commit 1497089

Browse files
authored
Send Content-Type: application/json header for integration manager /register API (#9490)
1 parent d702f4a commit 1497089

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)