Create function sendDeviceInfor to mail
This commit is contained in:
parent
ce04061029
commit
869008a066
|
|
@ -18,7 +18,6 @@ export const sendDeviceInfora = async () => {
|
||||||
//List file today
|
//List file today
|
||||||
const listFile = fs
|
const listFile = fs
|
||||||
.readdirSync(Env.get("FOLDER_LOGS"))
|
.readdirSync(Env.get("FOLDER_LOGS"))
|
||||||
.filter((f) => f.includes("TEST01"));
|
|
||||||
|
|
||||||
//Configure mail
|
//Configure mail
|
||||||
const transporter = nodeMailer.createTransport({
|
const transporter = nodeMailer.createTransport({
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue