auth controller y module final

This commit is contained in:
xXpuma99Xx
2022-12-19 11:00:27 -06:00
parent 4aa5f1843e
commit 53ef5893c6
2 changed files with 1 additions and 5 deletions
+1 -3
View File
@@ -20,9 +20,7 @@ export class AuthController {
@ApiOperation({ description: 'Login del admin.' })
@ApiBody({
description: 'Variables que necesita el endpoint.',
examples: {
ejemplo: { value: { operador: '', password: '' } },
},
examples: { ejemplo: { value: { operador: '', password: '' } } },
})
loginAdmin(@Body() body: LoginAdminDto) {
return this.authService.loginAdmin(body.operador, body.password);