add api services to frontend

This commit is contained in:
rubikscraft
2022-03-03 13:38:39 +01:00
parent 0e0060ffb5
commit e0230b26ae
22 changed files with 383 additions and 73 deletions

View File

@@ -30,7 +30,7 @@ export class AuthController {
@Post('login')
async login(@Request() req: AuthFasityRequest) {
const response: AuthLoginResponse = {
access_token: await this.authService.createToken(req.user),
jwt_token: await this.authService.createToken(req.user),
};
return response;