Skip to content

Commit

Permalink
add content type header when not MSAL
Browse files Browse the repository at this point in the history
  • Loading branch information
RealZimboGuy committed Aug 17, 2024
1 parent 632e59e commit 7e8153a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nflow-explorer/src/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ const authenticatedApiCall = (url: string, config: Config, body?: any): Promise<
body: body
};
if (!config.msalClient) {
options.headers = new Headers({
"content-type": "application/json"
});
return fetch(url, options);
}
const request = {
Expand Down

0 comments on commit 7e8153a

Please sign in to comment.