-Fix notifications
This commit is contained in:
parent
516d7ddc83
commit
0a3910171a
1 changed files with 2 additions and 2 deletions
|
|
@ -264,7 +264,7 @@ try {
|
||||||
if (cfg.debug) await page2.pause();
|
if (cfg.debug) await page2.pause();
|
||||||
await page2.close();
|
await page2.close();
|
||||||
}
|
}
|
||||||
notify_game.status = `<a href="${redeem[store]}">${redeem_action}</a> ${code} on ${store}`;
|
notify_game.status = `<a href='${redeem[store]}'>${redeem_action}</a> ${code} on ${store}`;
|
||||||
} else {
|
} else {
|
||||||
notify_game.status = `claimed on ${store}`;
|
notify_game.status = `claimed on ${store}`;
|
||||||
db.data[user][title].status = 'claimed';
|
db.data[user][title].status = 'claimed';
|
||||||
|
|
@ -356,7 +356,7 @@ try {
|
||||||
console.log(' Code to redeem game:', chalk.blue(code));
|
console.log(' Code to redeem game:', chalk.blue(code));
|
||||||
db.data[user][title].code = code;
|
db.data[user][title].code = code;
|
||||||
db.data[user][title].status = 'claimed';
|
db.data[user][title].status = 'claimed';
|
||||||
// notify_game.status = `<a href="${redeem[store]}">${redeem_action}</a> ${code} on ${store}`;
|
// notify_game.status = `<a href='${redeem[store]}'>${redeem_action}</a> ${code} on ${store}`;
|
||||||
}
|
}
|
||||||
// await page.pause();
|
// await page.pause();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue