mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 15:47:35 +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);
|
||||
|
||||
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({
|
||||
service: 'gmail',
|
||||
auth: {
|
||||
user: Config.email.username,
|
||||
pass: Config.email.password
|
||||
user: Config.notifications.email.username,
|
||||
pass: Config.notifications.email.password
|
||||
}
|
||||
});
|
||||
|
||||
const mailOptions: Mail.Options = {
|
||||
from: Config.email.username,
|
||||
to: Config.email.username,
|
||||
from: Config.notifications.email.username,
|
||||
to: Config.notifications.email.username,
|
||||
subject
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user