[Backport staging] Send Content-Type: application/json header for integration manager /register API (#9491)

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
ElementRobot
2022-10-24 16:11:37 +01:00
committed by GitHub
parent 9ffba57f93
commit cb9017dddc

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