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()
|
@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