add bearer tokens for functions
This commit is contained in:
@@ -89,6 +89,8 @@ export async function authorization(
|
||||
});
|
||||
if (response.ok) {
|
||||
let parsed = await response.json();
|
||||
console.log('login');
|
||||
console.log(parsed);
|
||||
if (parsed.message_code === 0) {
|
||||
await createSession(parsed.message_body.token, email);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user