From 93164fbf35be4315fa122117197e5b4cdc6ed533 Mon Sep 17 00:00:00 2001 From: joseph le Date: Thu, 12 Oct 2023 11:12:09 +0700 Subject: [PATCH] update sendDeviceInfo follow model special and RAM, flash --- app/utils/sendDeviceInfor.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/utils/sendDeviceInfor.ts b/app/utils/sendDeviceInfor.ts index 632af4c..8a78dc0 100644 --- a/app/utils/sendDeviceInfor.ts +++ b/app/utils/sendDeviceInfor.ts @@ -301,7 +301,6 @@ export const sendDeviceInfora = async () => { ); if (listInformation.length > 0) { console.log(listInformation); - listInformation.map((inf) => { html += `${inf.PID} ${inf.VID} @@ -334,6 +333,8 @@ export const sendDeviceInfora = async () => { }; transporter.sendMail(options); await InfoDevice.createMany(listInformation); + }else{ + console.log("listInformation", listInformation) } } catch (error) { console.log(error);