se agregò endpoint para traer ususarios y funcion diaria
This commit is contained in:
@@ -15,6 +15,12 @@ export class AuthController {
|
||||
return this.authService.registro(registroDto);
|
||||
}
|
||||
|
||||
@UseGuards(AuthGuard('jwt'))
|
||||
@Get('buscar')
|
||||
search() {
|
||||
return this.authService.findAll();
|
||||
}
|
||||
|
||||
@UseGuards(AuthGuard('jwt'))
|
||||
@Patch('update')
|
||||
update(@Body() registroDto: UpdateUsuarioDto) {
|
||||
|
||||
Reference in New Issue
Block a user