From a5e5321f0020ca58c00389a3f224ef3cb39120f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edvinas=20Kru=C4=8Das?= Date: Wed, 14 Jun 2023 15:20:57 +0300 Subject: [PATCH] Fix deal product deletion endpoint --- src/Resources/Deals.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Resources/Deals.php b/src/Resources/Deals.php index 2d4ac05..b2c74c2 100644 --- a/src/Resources/Deals.php +++ b/src/Resources/Deals.php @@ -120,7 +120,7 @@ public function updateProduct($id, $deal_product_id, $item_price, $quantity, $op public function deleteProduct($id, $product_attachment_id) { return $this->request->delete( - ':id/products', + ':id/products/:product_attachment_id', compact('id', 'product_attachment_id') ); }