diff --git a/src/stores/Products/Index.js b/src/stores/Products/Index.js index 6e489f5..42395ba 100644 --- a/src/stores/Products/Index.js +++ b/src/stores/Products/Index.js @@ -317,7 +317,7 @@ export const useProductsStore = create( let promiseDelete = Promise.resolve(newQuotationList) if (isNotEmpty(quotationId)) { - const { result, success } = await deleteQuotationAction('quotationId') + const { result, success } = await deleteQuotationAction(quotationId) if (!success) { promiseDelete = Promise.reject(result) }