summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-11-15 16:04:05 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-11-15 16:04:05 +0700
commit9e967a55c575d24b740620325838ab857e7eef04 (patch)
tree1be7dbe86c934d778967752a25e2ef414b63d9af /src
parent48441ffd9a92827ffedf5e0b0f4e490132e02c82 (diff)
back to code
Diffstat (limited to 'src')
-rw-r--r--src/lib/home/components/PreferredBrand.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/home/components/PreferredBrand.jsx b/src/lib/home/components/PreferredBrand.jsx
index 5a6a0570..9fb1228a 100644
--- a/src/lib/home/components/PreferredBrand.jsx
+++ b/src/lib/home/components/PreferredBrand.jsx
@@ -19,7 +19,7 @@ const PreferredBrand = () => {
setIsLoading(true);
const name = startWith ? `${startWith}*` : '';
const result = await axios(
- `${process.env.NEXT_PUBLIC_SELF_HOST}/api/shop/preferredBrand?rows=20`
+ `${process.env.NEXT_PUBLIC_SELF_HOST}/api/shop/brands?rows=20`
);
setIsLoading(false);