mirror of
https://github.com/myfatemi04/wheelshare-frontend.git
synced 2025-04-21 11:20:17 -04:00
add content-type header to Authenticator
This commit is contained in:
parent
a99a2b2427
commit
801216c51c
|
@ -13,6 +13,9 @@ export default function Authenticator() {
|
|||
useEffect(() => {
|
||||
fetch(`${API_ENDPOINT}/create_session`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
body: JSON.stringify({
|
||||
code,
|
||||
provider,
|
||||
|
|
Loading…
Reference in New Issue
Block a user