fixed create user

This commit is contained in:
2026-01-13 14:51:59 -06:00
parent aa84960ae3
commit 20f6e89e82
6 changed files with 20 additions and 11 deletions
+10
View File
@@ -17,6 +17,16 @@ import { JwtAuthGuard } from './jwt.guard';
export class UserController {
constructor(private readonly userService: UserService) {}
@Get()
async getAll() {
return this.userService.getAll();
}
@Get('/perfil')
async getAllPerfil() {
return this.userService.getAllPerfil();
}
@Post()
async Login(@Body() data: Login, @Res() res: Response) {
return this.userService.Login(data, res);