mirror of
https://github.com/element-hq/element-web
synced 2024-10-23 03:05:45 +03:00
[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:
parent
9ffba57f93
commit
cb9017dddc
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue