From 1829515873df2ea62d4b838d6f843276917bfebf Mon Sep 17 00:00:00 2001 From: asyncnomi Date: Wed, 21 Dec 2022 23:37:53 +0100 Subject: [PATCH] bla --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index f4e368b..77a2f19 100644 --- a/index.js +++ b/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 }