Remove jwt references
This commit is contained in:
@@ -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()),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user