From ca18146b236df1b22c9a5c06fc04b14737e3f768 Mon Sep 17 00:00:00 2001 From: joseph le Date: Tue, 10 Oct 2023 09:31:24 +0700 Subject: [PATCH] update prod --- app/utils/checkIndexSN.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/utils/checkIndexSN.ts b/app/utils/checkIndexSN.ts index bec3225..af7ae73 100644 --- a/app/utils/checkIndexSN.ts +++ b/app/utils/checkIndexSN.ts @@ -187,7 +187,7 @@ export const checkIndexSN = async (content, beginLine, nameF) => { { headers: { Authorization: "Bearer " + token } } ); - if (Env.get("RUN_ENV") !== "prod") { + if (Env.get("RUN_ENV") === "prod") { const response_int = await axios.post( "https://int.ipsupply.com.au/api/transferPostData", data,