Fix build and implement user/all correctly
This commit is contained in:
parent
a9bd803112
commit
555dacfaf5
17 changed files with 170 additions and 48 deletions
|
|
@ -47,7 +47,8 @@ export class AuthHandler {
|
|||
|
||||
// Create JWT
|
||||
const tokenInfo = encrypt.generateToken({
|
||||
id: userId!, // ! to indicate that we've definitely checked for userId being defined
|
||||
id: userId!, // ! to indicate that we've definitely checked for userId being defined
|
||||
role: user.role
|
||||
});
|
||||
|
||||
const responseDto = new LoginResponse();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue