Remove jwt references

This commit is contained in:
jwu-fisker
2021-01-07 18:57:41 -08:00
parent a47e3536a3
commit 64590934b6
3 changed files with 5 additions and 5 deletions

View File

@@ -23,12 +23,12 @@ const auth = {
})
}).then((response) => response.json()),
verify: (jwt) => fetch(`${AUTH_URL}/auth/verify`, {
verify: (accessToken) => fetch(`${AUTH_URL}/auth/verify`, {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({ token: jwt })
body: JSON.stringify({ token: accessToken })
}).then((response) => response.json()),
};