FIX: change stg env for prd env

This commit is contained in:
marcos-silva-rodrigues
2025-01-15 10:55:08 -03:00
parent 7d0b8755c9
commit 38a330e578
3 changed files with 5 additions and 7 deletions
+2 -1
View File
@@ -13,6 +13,7 @@ import {
UploadedFiles,
UseFilters,
UseInterceptors,
HttpCode
} from '@nestjs/common';
import { ApiOkResponse, ApiTags } from '@nestjs/swagger';
import { PERMISSIONS_GROUPS } from 'src/authentication/permissions.enum';
@@ -47,6 +48,7 @@ export class ThemeController {
@RequireAllPermissions(PERMISSIONS_GROUPS.USERS.permissions.ADMIN)
@ApiOkResponse({ type: CustomerThemeResponse })
@UseInterceptors(AnyFilesInterceptor())
@HttpCode(HttpStatus.OK)
async saveCustomertheme(
@Param('id') id: string,
@Body() data: CustomerThemeRequest,
@@ -59,7 +61,6 @@ export class ThemeController {
const logoWhite = files.find(file => file.fieldname === 'logoWhite');
const logoBlack = files.find(file => file.fieldname === 'logoBlack');
console.log(logoWhite)
this.validFileSize(logoWhite);
this.validFileSize(logoBlack);