Update index.js
This commit is contained in:
parent
53e5de472c
commit
4caefde9f8
2
index.js
2
index.js
|
|
@ -273,7 +273,7 @@ async function sendMail(subject, body) {
|
||||||
});
|
});
|
||||||
|
|
||||||
// add link to google drive in email body
|
// add link to google drive in email body
|
||||||
const bodyEmail = `\nYou can see the Excel file from Google Drive.\n${`https://docs.google.com/spreadsheets/d/${process.env.GOOGLE_DRIVE_FILE_ID}/view`}\n\n\n${body}`;
|
const bodyEmail = `\nYou can see the Excel file from Google Drive.\n${`https://docs.google.com/spreadsheets/d/${process.env.GOOGLE_DRIVE_FILE_ID}/view`}\n\n--------------------\n${body}`;
|
||||||
|
|
||||||
const mailOptions = {
|
const mailOptions = {
|
||||||
from: process.env.MAIL_USERNAME,
|
from: process.env.MAIL_USERNAME,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue