This commit is contained in:
max 2023-03-31 04:20:20 +00:00
parent e0f4c458f5
commit 5dfa0031bd

2
bot.js
View file

@ -30,7 +30,7 @@ console.log('masto.v1.statuses', 'utf8', (error, data) => {
if (error) { if (error) {
console.error(error); console.error(error);
} else { } else {
fspkg.writeFileSync('data.json',JSON.stringify(data, null, 2)); fspkg.writeFileSync(data.json);
console.log(data); console.log(data);
} }
} }