[UPD] add route for mobile

This commit is contained in:
Quentin TREHEUX
2023-05-29 11:21:23 +02:00
parent fc4ab040a8
commit af9a099bf1
+5
View File
@@ -79,4 +79,9 @@ export class AuthController {
async googleAuthRedirect(@Request() req: any) {
return this.authService.login(req.user);
}
@Post('google/mobile')
async googleMobileAuth(@Body('idToken') idToken: string) {
return this.authService.loginWithGoogleMobile(idToken);
}
}