1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-12 08:40:04 +00:00

fix: add isAdmin attribute to return response of get session and login requests

This commit is contained in:
2022-06-23 22:50:00 +05:00
parent 4c6b9c5e93
commit bdf63df1d9
5 changed files with 23 additions and 6 deletions

View File

@@ -99,7 +99,8 @@ const login = async (
user: {
id: user.id,
username: user.username,
displayName: user.displayName
displayName: user.displayName,
isAdmin: user.isAdmin
}
}
}