@react-pakistan/util-functions 1.24.22 → 1.24.23

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.
@@ -167,14 +167,14 @@ var postQuoteInvoice = function (_a) { return __awaiter(void 0, [_a], void 0, fu
167
167
  case 1:
168
168
  quoteInvoice = _e.sent();
169
169
  return [4 /*yield*/, ((_c = products === null || products === void 0 ? void 0 : products.filter(function (product) { return product.productId; })) === null || _c === void 0 ? void 0 : _c.forEach(function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
170
- var _id = _b.id, productQuantity = _b.productQuantity;
170
+ var _id = _b.id, quantity = _b.quantity;
171
171
  return __generator(this, function (_c) {
172
172
  switch (_c.label) {
173
173
  case 0: return [4 /*yield*/, prisma.quotesInvoicesOnStellarProducts.create({
174
174
  data: {
175
175
  quoteInvoiceId: quoteInvoice === null || quoteInvoice === void 0 ? void 0 : quoteInvoice.id,
176
176
  productId: _id,
177
- productQuantity: productQuantity,
177
+ quantity: quantity,
178
178
  },
179
179
  })];
180
180
  case 1:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-pakistan/util-functions",
3
- "version": "1.24.22",
3
+ "version": "1.24.23",
4
4
  "description": "A library of all util functions",
5
5
  "main": "index.js",
6
6
  "scripts": {