Guardar y cambiar img al editar productos

This commit is contained in:
2025-08-12 15:58:32 -04:00
parent 8a54bf7138
commit 854b31f594
20 changed files with 162 additions and 50 deletions

View File

@@ -54,13 +54,16 @@ export class AuthController {
@Patch('refresh-token')
//@RequirePermissions('auth:refresh-token')
async refreshToken(@Body() refreshTokenDto: RefreshTokenDto) {
console.log("Refrescando token...");
console.log(refreshTokenDto);
return await this.authService.refreshToken(refreshTokenDto);
}
@Public()
@HttpCode(200)
@Get('test')
async test() {
return 'aplication test success';
}
// @Public()
// @HttpCode(200)
// @Get('test')
// async test() {
// return 'aplication test success';
// }
}