diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-09-02 13:24:07 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-09-02 13:24:07 +0700 |
| commit | bf805f7da68891250a10d85d9206607de3cbfacf (patch) | |
| tree | 45355b1ed81f0a086497a8717636ee368b7ba578 /src/lib/product/api/productSearchApi.js | |
| parent | 702b5d9b6e215ad812fadaff3325e1e6164d3b24 (diff) | |
<iman> temp save update fetch data promotion program line
Diffstat (limited to 'src/lib/product/api/productSearchApi.js')
| -rw-r--r-- | src/lib/product/api/productSearchApi.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/product/api/productSearchApi.js b/src/lib/product/api/productSearchApi.js index 1626b7b7..2f792fd4 100644 --- a/src/lib/product/api/productSearchApi.js +++ b/src/lib/product/api/productSearchApi.js @@ -3,7 +3,7 @@ import axios from 'axios' const productSearchApi = async ({ query, operation = 'AND' }) => { const dataProductSearch = await axios( - `${process.env.NEXT_PUBLIC_SELF_HOST}/api/shop/search?${query}&operation=${operation}` + `${process.env.NEXT_PUBLIC_SELF_HOST}/api/shop/promo?${query}&operation=${operation}` ) return dataProductSearch.data } |
