Send Content-Type: application/json header for integration manager /register API (#9490)

t3chguy/dedup-icons-17oct
Michael Telatynski 2022-10-24 15:30:49 +01:00 committed by GitHub
parent d702f4a291
commit 1497089b92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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) {