diff options
Diffstat (limited to 'src/lib/checkout')
| -rw-r--r-- | src/lib/checkout/api/getRatesCourier.js | 3 | ||||
| -rw-r--r-- | src/lib/checkout/components/SectionExpedition.jsx | 2 | ||||
| -rw-r--r-- | src/lib/checkout/components/SectionQuotationExpedition.jsx | 3 |
3 files changed, 3 insertions, 5 deletions
diff --git a/src/lib/checkout/api/getRatesCourier.js b/src/lib/checkout/api/getRatesCourier.js index 30cfe6e1..0108a3b8 100644 --- a/src/lib/checkout/api/getRatesCourier.js +++ b/src/lib/checkout/api/getRatesCourier.js @@ -5,8 +5,7 @@ const GetRatesCourierBiteship = async ({ destination, items }) => { const couriers = process.env.NEXT_PUBLIC_BITESHIP_CODE_COURIERS; let body = { ...destination, - couriers: - 'gojek, grab, deliveree, lalamove, jne, tiki, ninja, lion, rara, sicepat, jnt, pos, idexpress, rpx, wahana, jdl, pos, anteraja, sap, paxel, borzo', + couriers: couriers, items: items, }; diff --git a/src/lib/checkout/components/SectionExpedition.jsx b/src/lib/checkout/components/SectionExpedition.jsx index 66182589..16a2c664 100644 --- a/src/lib/checkout/components/SectionExpedition.jsx +++ b/src/lib/checkout/components/SectionExpedition.jsx @@ -250,7 +250,7 @@ export default function SectionExpedition({ products }) { let body = { ...destination, couriers: - 'gojek,grab,deliveree,lalamove,jne,tiki,ninja,lion,rara,sicepat,jnt,pos,idexpress,rpx,wahana,jdl,pos,anteraja,sap,paxel,borzo', + 'gojek,grab,deliveree,lalamove,jne,ninja,lion,rara,sicepat,jnt,idexpress,rpx,wahana,jdl,pos,anteraja,sap,paxel,borzo', items: items, }; try { diff --git a/src/lib/checkout/components/SectionQuotationExpedition.jsx b/src/lib/checkout/components/SectionQuotationExpedition.jsx index 817cd21b..718e096c 100644 --- a/src/lib/checkout/components/SectionQuotationExpedition.jsx +++ b/src/lib/checkout/components/SectionQuotationExpedition.jsx @@ -155,8 +155,7 @@ export default function SectionExpeditionQuotation({ products }) { const fetchExpedition = async () => { const body = { ...destination, - couriers: - 'gojek,grab,deliveree,lalamove,jne,tiki,ninja,lion,rara,sicepat,jnt,pos,idexpress,rpx,wahana,jdl,pos,anteraja,sap,paxel,borzo', + couriers: 'gojek,grab,deliveree,lalamove,jne,ninja,lion,rara,sicepat,jnt,idexpress,rpx,wahana,jdl,pos,anteraja,sap,paxel,borzo', items, }; const response = await axios.get(`/api/biteship-service`, { |
