eg: notify_games filter status 'requires base game', fixes #112

fix 352ee753c9
This commit is contained in:
Ralf Vogler 2023-03-30 14:06:57 +02:00
parent 352ee753c9
commit 9285af2544

View file

@ -216,7 +216,7 @@ try {
notify(`epic-games failed: ${error.message.split('\n')[0]}`);
} finally {
await db.write(); // write out json db
if (notify_games.filter(g => g.status != 'existed' && g.status != 'failed:requires-base-game').length) { // don't notify if all were already claimed
if (notify_games.filter(g => g.status != 'existed' && g.status != 'requires base game').length) { // don't notify if all were already claimed
notify(`epic-games (${user}):<br>${html_game_list(notify_games)}`);
}
}