diff options
| author | trisusilo48 <tri.susilo@altama.co.id> | 2024-08-06 15:12:56 +0700 |
|---|---|---|
| committer | trisusilo48 <tri.susilo@altama.co.id> | 2024-08-06 15:12:56 +0700 |
| commit | f3aa76b1810b3bc8b25bd02c76b50384893fc453 (patch) | |
| tree | 17a600e51521fedc5e80fe6c3fdd82c069b9050c /src/lib/checkout/api/getVoucher.js | |
| parent | fd9dcbedb3800c73bebd729211564f13cb08bfe7 (diff) | |
voucher
Diffstat (limited to 'src/lib/checkout/api/getVoucher.js')
| -rw-r--r-- | src/lib/checkout/api/getVoucher.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/checkout/api/getVoucher.js b/src/lib/checkout/api/getVoucher.js index 779cef43..ead4ffbe 100644 --- a/src/lib/checkout/api/getVoucher.js +++ b/src/lib/checkout/api/getVoucher.js @@ -3,6 +3,7 @@ import { getAuth } from '@/core/utils/auth' export const getVoucher = async (id, query) => { const queryParam = new URLSearchParams(query); + console.log('ini params string',queryParam.toString()) const url = `/api/v1/user/${id}/voucher?${queryParam.toString()}`; const dataVoucher = await odooApi('GET', url); return dataVoucher; |
