Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
bahram1249 committed May 14, 2024
1 parent ddd6439 commit fb61023
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions apps/e-commerce/src/user/stock/dto/stock-price.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@ export class StockPriceDto {
type: Number,
description: 'addressId',
})
@IsNumber(null, {
message: i18nValidationMessage<I18nTranslations>('validation.NUMBER'),
})
@IsNumber(
{},
{
message: i18nValidationMessage<I18nTranslations>('validation.NUMBER'),
},
)
addressId?: bigint;

@IsOptional()
Expand Down

0 comments on commit fb61023

Please sign in to comment.