diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-09-02 14:40:34 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-09-02 14:40:34 +0700 |
| commit | 3f384749fe51a2763e7e99351f36ce70954afb7a (patch) | |
| tree | 2a14c955baa688789021ce85e37268f4cda2c17b /src/lib | |
| parent | bf805f7da68891250a10d85d9206607de3cbfacf (diff) | |
<iman> temp save
Diffstat (limited to 'src/lib')
| -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 2f792fd4..670661aa 100644 --- a/src/lib/product/api/productSearchApi.js +++ b/src/lib/product/api/productSearchApi.js @@ -1,7 +1,7 @@ import _ from 'lodash-contrib' import axios from 'axios' -const productSearchApi = async ({ query, operation = 'AND' }) => { +const productSearchApi = async ({ query, operation = 'OR' }) => { const dataProductSearch = await axios( `${process.env.NEXT_PUBLIC_SELF_HOST}/api/shop/promo?${query}&operation=${operation}` ) |
