se agregaron reportes por estado

This commit is contained in:
Emilio-11
2025-11-28 16:04:44 -06:00
parent 62f1776a5e
commit c321917ed3
6 changed files with 195 additions and 101 deletions
+7 -2
View File
@@ -25,6 +25,11 @@ export class AuthController {
return this.authService.registro(registroDto);
}
@Post('registro/Masivo')
registroMasivo(@Body() registroDto: CreateUsuarioDto[]) {
return this.authService.registroMasivo(registroDto);
}
@UseGuards(AuthGuard('jwt'))
@Get('buscar')
search() {
@@ -39,8 +44,8 @@ export class AuthController {
if (!id_usuario) {
throw new NotFoundException('token sin id_usuario');
}
return this.authService.update(registroDto,id_usuario);
return this.authService.update(registroDto, id_usuario);
}
@Post('login')