Skip to content

Commit

Permalink
hotfix: config variable reference
Browse files Browse the repository at this point in the history
Signed-off-by: Jef LeCompte <jeffreylec@gmail.com>
  • Loading branch information
jef committed Sep 18, 2020
1 parent fad9ea0 commit ec2108f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down
8 changes: 4 additions & 4 deletions src/notification/email.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
};

Expand Down

0 comments on commit ec2108f

Please sign in to comment.