mirror of
https://github.com/sasjs/server.git
synced 2026-01-08 07:00:04 +00:00
fix: add isAdmin attribute to return response of get session and login requests
This commit is contained in:
@@ -79,7 +79,8 @@ describe('web', () => {
|
||||
expect(res.body.user).toEqual({
|
||||
id: expect.any(Number),
|
||||
username: user.username,
|
||||
displayName: user.displayName
|
||||
displayName: user.displayName,
|
||||
isAdmin: user.isAdmin
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user