fixed typing of AdminPostPriceListsPriceListPriceListReq (#1332)
This commit is contained in:
1 parent
8c420f4285
commit
2a1b34c20f
1 file changed
+2
-2
@@ -145,11 +145,11 @@ export class AdminPostPriceListsPriceListPriceListReq {
|
||||
@IsArray()
|
||||
@Type(() => AdminPriceListPricesUpdateReq)
|
||||
@ValidateNested({ each: true })
|
||||
prices: AdminPriceListPricesUpdateReq[]
|
||||
prices?: AdminPriceListPricesUpdateReq[]
|
||||
|
||||
@IsOptional()
|
||||
@IsArray()
|
||||
@Type(() => CustomerGroup)
|
||||
@ValidateNested({ each: true })
|
||||
customer_groups: CustomerGroup[]
|
||||
customer_groups?: CustomerGroup[]
|
||||
}
|
||||
Reference in new issue
Block a user