Skip to content

Commit ee289f0

Browse files
author
JasmeetLuthra
committed
removed users params in edit product api call
1 parent 2ecfb6f commit ee289f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

controllers/products.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ const handleEditProduct = (queryParams) => {
6060
delete queryParams.product_category_id;
6161
delete queryParams.product_category;
6262
delete queryParams.owner_client_id;
63+
delete queryParams.users;
6364

6465
Object.keys(queryParams).forEach((key) => {
6566
if (queryParams[key] == null) {

0 commit comments

Comments
 (0)