Browse Source
Task/remove @IsOptional() from dataSource in CreateOrderDto (#5703)
* Remove is @IsOptional() from dataSource
pull/5729/head
Thomas Kaul
4 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
2 deletions
-
apps/api/src/app/order/create-order.dto.ts
|
|
|
@ -44,8 +44,7 @@ export class CreateOrderDto { |
|
|
|
customCurrency?: string; |
|
|
|
|
|
|
|
@IsEnum(DataSource) |
|
|
|
@IsOptional() |
|
|
|
dataSource?: DataSource; |
|
|
|
dataSource: DataSource; |
|
|
|
|
|
|
|
@IsISO8601() |
|
|
|
@Validate(IsAfter1970Constraint) |
|
|
|
|