@react-pakistan/util-functions 1.22.58 → 1.22.59

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.
@@ -97,12 +97,12 @@ products, phone, lastName, firstName, email, country, city, address, prisma, })
97
97
  products: true,
98
98
  },
99
99
  });
100
- products.map((_e) => __awaiter(void 0, [_e], void 0, function* ({ id: __id, productQuantity }) {
100
+ products.map((product) => __awaiter(void 0, void 0, void 0, function* () {
101
101
  yield prisma.quotesInvoicesOnStellarProducts.create({
102
102
  data: {
103
103
  quoteInvoiceId: quoteInvoice === null || quoteInvoice === void 0 ? void 0 : quoteInvoice.id,
104
- productId: __id,
105
- productQuantity,
104
+ productId: product.id,
105
+ productQuantity: product.productQuantity,
106
106
  },
107
107
  include: {
108
108
  product: true,
@@ -216,7 +216,7 @@ products, phone, lastName, firstName, email, country, city, address, prisma, })
216
216
  return quoteInvoice;
217
217
  });
218
218
  exports.postQuoteInvoice = postQuoteInvoice;
219
- const deleteQuoteInvoice = (_f) => __awaiter(void 0, [_f], void 0, function* ({ prisma, id, }) {
219
+ const deleteQuoteInvoice = (_e) => __awaiter(void 0, [_e], void 0, function* ({ prisma, id, }) {
220
220
  const quoteInvoice = yield prisma.quoteInvoice.delete({
221
221
  where: {
222
222
  id,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-pakistan/util-functions",
3
- "version": "1.22.58",
3
+ "version": "1.22.59",
4
4
  "description": "A library of all util functions",
5
5
  "main": "index.js",
6
6
  "scripts": {