bla
This commit is contained in:
parent
fb9b4757e1
commit
1829515873
1 changed files with 2 additions and 1 deletions
3
index.js
3
index.js
|
@ -70,7 +70,8 @@ fastify.post('/login', async (request, reply) => {
|
|||
success: true,
|
||||
user: {
|
||||
uid: res.authUser.uid,
|
||||
givenName: res.authUser.givenName
|
||||
givenName: res.authUser.givenName,
|
||||
isAdmin: AdminUsersUid.contains(res.authUser.uid)
|
||||
},
|
||||
token: UsersToken[res.authUser.uid].token
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue