mirror of
https://github.com/CaramelFur/Picsur.git
synced 2025-11-14 15:45:49 +01:00
add api services to frontend
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user