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,