From 0f1eaf02d961ced87895aa56cefb4c31ab3d03ac Mon Sep 17 00:00:00 2001 From: FIN-IT_AndriFP Date: Sun, 15 Feb 2026 19:43:36 +0700 Subject: fix code rates biteship --- src/lib/checkout/api/getRatesCourier.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lib/checkout') 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, }; -- cgit v1.2.3 From 3566e7abaad39133162427b6bfe29213c9d5a3d7 Mon Sep 17 00:00:00 2001 From: FIN-IT_AndriFP Date: Sun, 15 Feb 2026 19:53:06 +0700 Subject: fix --- src/lib/checkout/components/SectionExpedition.jsx | 3 +-- src/lib/checkout/components/SectionQuotationExpedition.jsx | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src/lib/checkout') diff --git a/src/lib/checkout/components/SectionExpedition.jsx b/src/lib/checkout/components/SectionExpedition.jsx index 66182589..001f5006 100644 --- a/src/lib/checkout/components/SectionExpedition.jsx +++ b/src/lib/checkout/components/SectionExpedition.jsx @@ -249,8 +249,7 @@ export default function SectionExpedition({ products }) { const fetchExpedition = async () => { 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: process.env.NEXT_PUBLIC_BITESHIP_CODE_COURIERS, items: items, }; try { diff --git a/src/lib/checkout/components/SectionQuotationExpedition.jsx b/src/lib/checkout/components/SectionQuotationExpedition.jsx index 817cd21b..926c291b 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: process.env.NEXT_PUBLIC_BITESHIP_CODE_COURIERS, items, }; const response = await axios.get(`/api/biteship-service`, { -- cgit v1.2.3 From 7ef19bc5b5dc64fc0fb8126cec02943f06a4237a Mon Sep 17 00:00:00 2001 From: FIN-IT_AndriFP Date: Sun, 15 Feb 2026 19:59:51 +0700 Subject: fix --- src/lib/checkout/components/SectionExpedition.jsx | 3 ++- src/lib/checkout/components/SectionQuotationExpedition.jsx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src/lib/checkout') diff --git a/src/lib/checkout/components/SectionExpedition.jsx b/src/lib/checkout/components/SectionExpedition.jsx index 001f5006..16a2c664 100644 --- a/src/lib/checkout/components/SectionExpedition.jsx +++ b/src/lib/checkout/components/SectionExpedition.jsx @@ -249,7 +249,8 @@ export default function SectionExpedition({ products }) { const fetchExpedition = async () => { let body = { ...destination, - couriers: process.env.NEXT_PUBLIC_BITESHIP_CODE_COURIERS, + couriers: + '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 926c291b..718e096c 100644 --- a/src/lib/checkout/components/SectionQuotationExpedition.jsx +++ b/src/lib/checkout/components/SectionQuotationExpedition.jsx @@ -155,7 +155,7 @@ export default function SectionExpeditionQuotation({ products }) { const fetchExpedition = async () => { const body = { ...destination, - couriers: process.env.NEXT_PUBLIC_BITESHIP_CODE_COURIERS, + 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`, { -- cgit v1.2.3