se agregaron reportes por estado
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user