Skip to content

Commit

Permalink
refactor: Add Content-Type header to disconnect request in ConnectOve…
Browse files Browse the repository at this point in the history
…rlay.tsx
  • Loading branch information
daniel-vahn committed Jul 30, 2024
1 parent 5c9a689 commit 6ebd17c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/connectOverlay/ConnectOverlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,9 @@ const ConnectOverlay: React.FC<Props> = ({

await axios.post(BRIDGE_URL + '/disconnect', {
providerId: window.localStorage.getItem('providerId'),
headers: {
'Content-Type': 'application/json',
},
});
};

Expand Down

0 comments on commit 6ebd17c

Please sign in to comment.