mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 19:26:04 +03:00
Send Content-Type: application/json header for integration manager /register API (#9490)
This commit is contained in:
parent
d702f4a291
commit
1497089b92
1 changed files with 3 additions and 0 deletions
|
@ -190,6 +190,9 @@ export default class ScalarAuthClient {
|
||||||
const res = await fetch(scalarRestUrl, {
|
const res = await fetch(scalarRestUrl, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: JSON.stringify(openidTokenObject),
|
body: JSON.stringify(openidTokenObject),
|
||||||
|
headers: {
|
||||||
|
"Content-Type": "application/json",
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!res.ok) {
|
if (!res.ok) {
|
||||||
|
|
Loading…
Reference in a new issue