y
This commit is contained in:
parent
e0f4c458f5
commit
5dfa0031bd
1 changed files with 1 additions and 1 deletions
2
bot.js
2
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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue