diff --git a/xbox.js b/xbox.js index b2406cc..67054ef 100644 --- a/xbox.js +++ b/xbox.js @@ -15,7 +15,7 @@ const URL_CLAIM = 'https://www.xbox.com/en-US/live/gold'; // #gameswithgold"; console.log(datetime(), 'started checking xbox'); -const db = await jsonDb('xbox.json'); +const db = await jsonDb('xbox.json', {}); db.data ||= {}; handleSIGINT();