mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 06:27:38 +00:00
hotfix: config variable reference
Signed-off-by: Jef LeCompte <jeffreylec@gmail.com>
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ async function main() {
|
|||||||
await Promise.all(results);
|
await Promise.all(results);
|
||||||
|
|
||||||
Logger.info('↗ trying stores again');
|
Logger.info('↗ trying stores again');
|
||||||
setTimeout(main, Config.page.rateLimitTimeout);
|
setTimeout(main, Config.rateLimitTimeout);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -8,14 +8,14 @@ const subject = 'NVIDIA - BUY NOW';
|
|||||||
const transporter = nodemailer.createTransport({
|
const transporter = nodemailer.createTransport({
|
||||||
service: 'gmail',
|
service: 'gmail',
|
||||||
auth: {
|
auth: {
|
||||||
user: Config.email.username,
|
user: Config.notifications.email.username,
|
||||||
pass: Config.email.password
|
pass: Config.notifications.email.password
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
const mailOptions: Mail.Options = {
|
const mailOptions: Mail.Options = {
|
||||||
from: Config.email.username,
|
from: Config.notifications.email.username,
|
||||||
to: Config.email.username,
|
to: Config.notifications.email.username,
|
||||||
subject
|
subject
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user