add content-type header to Authenticator

This commit is contained in:
Michael Fatemi 2021-04-10 15:23:01 -04:00
parent a99a2b2427
commit 801216c51c

View File

@ -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,