Skip to content

Commit

Permalink
Update Deals.php
Browse files Browse the repository at this point in the history
change GET to POST HTTP Request method for Deals::duplicate()
  • Loading branch information
bmarcinkowski authored Jan 18, 2018
1 parent 4432cb6 commit c9c13f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/Deals.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public function deleteProduct($id, $product_attachment_id)
*/
public function duplicate($id)
{
return $this->request->get(':id/duplicate', compact('id'));
return $this->request->post(':id/duplicate', compact('id'));
}

/**
Expand Down

0 comments on commit c9c13f7

Please sign in to comment.