update sendDeviceInfo follow model special and RAM, flash
This commit is contained in:
parent
00cb88b5f4
commit
93164fbf35
|
|
@ -301,7 +301,6 @@ export const sendDeviceInfora = async () => {
|
|||
);
|
||||
if (listInformation.length > 0) {
|
||||
console.log(listInformation);
|
||||
|
||||
listInformation.map((inf) => {
|
||||
html += `<tr><td>${inf.PID}</td>
|
||||
<td>${inf.VID}</td>
|
||||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue