Errores arreglados

This commit is contained in:
Drakthor475
2025-10-24 10:41:40 -06:00
parent dd4f585dad
commit a2be3ee273
245 changed files with 1884 additions and 50 deletions
+3
View File
@@ -7,11 +7,14 @@ import { LoginDto } from './dto/login.dto';
@Controller('auth')
export class AuthController {
constructor( private readonly authService:AuthService){}
@Post("registro")
registro(@Body() registroDto:CreateUsuarioDto ){
return this.authService.registro(registroDto);
}
@Post("login")
login(@Body() loginDto:LoginDto){
return this.authService.login(loginDto);