@infrab4a/connect 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/infrab4a-connect.umd.js +3 -3
- package/bundles/infrab4a-connect.umd.js.map +1 -1
- package/esm2015/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.js +4 -4
- package/fesm2015/infrab4a-connect.js +3 -3
- package/fesm2015/infrab4a-connect.js.map +1 -1
- package/package.json +1 -1
|
@@ -4198,7 +4198,7 @@
|
|
|
4198
4198
|
where: {
|
|
4199
4199
|
type: 'product_kit_bool_exp',
|
|
4200
4200
|
required: true,
|
|
4201
|
-
value: {
|
|
4201
|
+
value: { kit_product_id: { _eq: productId } },
|
|
4202
4202
|
},
|
|
4203
4203
|
})];
|
|
4204
4204
|
case 1:
|
|
@@ -4208,8 +4208,8 @@
|
|
|
4208
4208
|
type: '[product_kit_insert_input!]',
|
|
4209
4209
|
required: true,
|
|
4210
4210
|
value: plainData.kitProducts.map(function (kitProduct) { return ({
|
|
4211
|
-
kit_product_id:
|
|
4212
|
-
product_id: productId,
|
|
4211
|
+
kit_product_id: productId,
|
|
4212
|
+
product_id: kitProduct.productId || kitProduct.product.id,
|
|
4213
4213
|
quantity: kitProduct.quantity,
|
|
4214
4214
|
}); }),
|
|
4215
4215
|
},
|