eg: notify_games filter status 'requires base game', fixes #112
fix 352ee753c9
This commit is contained in:
parent
352ee753c9
commit
9285af2544
1 changed files with 1 additions and 1 deletions
|
|
@ -216,7 +216,7 @@ try {
|
||||||
notify(`epic-games failed: ${error.message.split('\n')[0]}`);
|
notify(`epic-games failed: ${error.message.split('\n')[0]}`);
|
||||||
} finally {
|
} finally {
|
||||||
await db.write(); // write out json db
|
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)}`);
|
notify(`epic-games (${user}):<br>${html_game_list(notify_games)}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue