fixed foreign key

This commit is contained in:
2025-09-18 16:50:10 -06:00
parent 719779b763
commit b7ac5aea50
18 changed files with 66 additions and 169 deletions
+2 -2
View File
@@ -17,8 +17,8 @@ export class UserController {
constructor(private readonly userService: UserService) {}
@Post()
async Login(@Body() data: CreateUserDto, @Res() res: Response) {
return this.userService.Login(data, res);
async Login(@Body() data: CreateUserDto) {
return this.userService.Login(data);
}
@UseGuards(AuthGuard('jwt'))