diff --git a/docsfera.json b/docsfera.json index 96f6350..88d9fde 100644 --- a/docsfera.json +++ b/docsfera.json @@ -5499,9 +5499,6 @@ } } } - }, - "201": { - "description": "" } }, "tags": [ diff --git a/helmfiles/stg.yaml b/helmfiles/stg.yaml index 21fcf0a..fe6713a 100644 --- a/helmfiles/stg.yaml +++ b/helmfiles/stg.yaml @@ -9,11 +9,11 @@ charts: - name: hostname value: maestro.stg.dadosfera.ai - name: maestro.pi_factory_url - value: pi-factory.stg.dadosfera.ai + value: pi-factory.dadosfera.ai - name: maestro.in_factory_url - value: in-factory.stg.dadosfera.ai + value: in-factory.dadosfera.ai - name: maestro.tr_factory_url - value: in-factory.stg.dadosfera.ai + value: in-factory.dadosfera.ai - name: maestro.open_customer_id value: bb4e9b26-d465-40ff-9345-e768ca69a55e - name: maestro.open_group_id diff --git a/src/modules/theme/theme.controller.ts b/src/modules/theme/theme.controller.ts index f04fb7a..dba694e 100644 --- a/src/modules/theme/theme.controller.ts +++ b/src/modules/theme/theme.controller.ts @@ -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);