From 9285af254490ad5486261127ca283e2abb1f04f7 Mon Sep 17 00:00:00 2001 From: Ralf Vogler Date: Thu, 30 Mar 2023 14:06:57 +0200 Subject: [PATCH] eg: notify_games filter status 'requires base game', fixes #112 fix 352ee753c9523277697985ef8c1b88850044dd91 --- epic-games.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epic-games.js b/epic-games.js index c8ceef1..0a6cad6 100644 --- a/epic-games.js +++ b/epic-games.js @@ -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}):
${html_game_list(notify_games)}`); } }