From 7074849a5f0bd87f6d8174e8ccb852f8dfa1d561 Mon Sep 17 00:00:00 2001 From: joseph le Date: Fri, 20 Oct 2023 10:03:14 +0700 Subject: [PATCH] update write for functions --- 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 8847230..1132f11 100644 --- a/app/utils/checkIndexSN.ts +++ b/app/utils/checkIndexSN.ts @@ -201,7 +201,7 @@ export const checkIndexSN = async (content, beginLine, nameF) => { "./app/store/logsAPI/" + moment(Date.now()).format("DD_MM_YYYY").toString() + ".log"; - addLogFunction(fileName, "URL: https://int.ipsupply.com.au/api/transferPostData\n"+ response_int.data, "Update SN index to int.ipsupply.com.au"); + addLogFunction(fileName, "URL: https://int.ipsupply.com.au/api/transferPostData\n"+ JSON.stringify(response_int.data, null, 2), "Update SN index to int.ipsupply.com.au"); } } }