diff options
| author | FIN-IT_AndriFP <andrifebriyadiputra@gmail.com> | 2026-02-15 19:53:06 +0700 |
|---|---|---|
| committer | FIN-IT_AndriFP <andrifebriyadiputra@gmail.com> | 2026-02-15 19:53:06 +0700 |
| commit | 3566e7abaad39133162427b6bfe29213c9d5a3d7 (patch) | |
| tree | cccbd4fd78c4d27e7c722723c67ce57a5f955fc6 | |
| parent | 0f1eaf02d961ced87895aa56cefb4c31ab3d03ac (diff) | |
fix
| -rw-r--r-- | src/lib/checkout/components/SectionExpedition.jsx | 3 | ||||
| -rw-r--r-- | src/lib/checkout/components/SectionQuotationExpedition.jsx | 3 |
2 files changed, 2 insertions, 4 deletions
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`, { |
