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

This commit is contained in:
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

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