fix: Ensure sales channel updates don't remove sales channel on other products (#7510)
* fix: Make all product tests pass * fix: Ensure product update doesnt remove sales channels on other products
This commit is contained in:
@@ -42,6 +42,7 @@ export const AdminGetProductsParams = createFindParams({
|
||||
.object({
|
||||
variants: AdminGetProductVariantsParams.optional(),
|
||||
price_list_id: z.string().array().optional(),
|
||||
status: statusEnum.array().optional(),
|
||||
$and: z.lazy(() => AdminGetProductsParams.array()).optional(),
|
||||
$or: z.lazy(() => AdminGetProductsParams.array()).optional(),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user