Update
This commit is contained in:
parent
0fc1b2e901
commit
0e39c66902
2
index.js
2
index.js
|
|
@ -214,7 +214,7 @@ async function main() {
|
|||
const msg = errors.map((e) => `URL: ${e.url}\nMessage: ${e.message}`).join("\n\n");
|
||||
await sendMail("[New Items] - Scraping Sold Out Error Report", msg);
|
||||
} else {
|
||||
const msg = inserted.map((i) => `Shop: <b>${i.name}</b>\nInserted: <b>${i.count}</b>`).join("\n\n");
|
||||
const msg = inserted.map((i) => `Shop: ${i.name}\nInserted: ${i.count}`).join("\n\n");
|
||||
await sendMail("[New Items] - Scraping Sold Out Success", msg);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue