From 5dfa0031bdc7999e712eab73459c7553e2e15018 Mon Sep 17 00:00:00 2001 From: max Date: Fri, 31 Mar 2023 04:20:20 +0000 Subject: [PATCH] y --- bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.js b/bot.js index 1107d64..3ccc245 100644 --- a/bot.js +++ b/bot.js @@ -30,7 +30,7 @@ console.log('masto.v1.statuses', 'utf8', (error, data) => { if (error) { console.error(error); } else { - fspkg.writeFileSync('data.json',JSON.stringify(data, null, 2)); + fspkg.writeFileSync(data.json); console.log(data); } }