summaryrefslogtreecommitdiff
path: root/src/pages/api
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2024-08-20 09:14:52 +0000
committerIT Fixcomart <it@fixcomart.co.id>2024-08-20 09:14:52 +0000
commit7388f27d1778aaa66191b44d725ce7c3e3e4ddd8 (patch)
tree7fdef4f99f0f42e2d99a40bfd5b81f1ca5f4ef30 /src/pages/api
parent6d302bb338e26810a7f90326b84086217f1f4ae0 (diff)
parent5c5eef9d62efd83f52f7c37dacb94d50ff7cb915 (diff)
Merged in Feature/category-management (pull request #248)
Feature/category management
Diffstat (limited to 'src/pages/api')
-rw-r--r--src/pages/api/shop/product-homepage.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pages/api/shop/product-homepage.js b/src/pages/api/shop/product-homepage.js
index 02c01ee0..61732c77 100644
--- a/src/pages/api/shop/product-homepage.js
+++ b/src/pages/api/shop/product-homepage.js
@@ -36,7 +36,8 @@ const respoonseMap = (productHomepage, products) => {
name: productHomepage.name_s,
image: productHomepage.image_s,
url: productHomepage.url_s,
- products: products
+ products: products,
+ categoryIds: productHomepage.category_id_ids,
}
return productMapped