fixed typing of AdminPostPriceListsPriceListPriceListReq (#1332)
This commit is contained in:
@@ -145,11 +145,11 @@ export class AdminPostPriceListsPriceListPriceListReq {
|
|||||||
@IsArray()
|
@IsArray()
|
||||||
@Type(() => AdminPriceListPricesUpdateReq)
|
@Type(() => AdminPriceListPricesUpdateReq)
|
||||||
@ValidateNested({ each: true })
|
@ValidateNested({ each: true })
|
||||||
prices: AdminPriceListPricesUpdateReq[]
|
prices?: AdminPriceListPricesUpdateReq[]
|
||||||
|
|
||||||
@IsOptional()
|
@IsOptional()
|
||||||
@IsArray()
|
@IsArray()
|
||||||
@Type(() => CustomerGroup)
|
@Type(() => CustomerGroup)
|
||||||
@ValidateNested({ each: true })
|
@ValidateNested({ each: true })
|
||||||
customer_groups: CustomerGroup[]
|
customer_groups?: CustomerGroup[]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user