summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/checkout/components/SectionExpedition.jsx3
-rw-r--r--src/lib/checkout/components/SectionQuotationExpedition.jsx3
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`, {