refactoring code

This commit is contained in:
Michael (GP) 2022-12-13 12:33:24 -05:00
parent 93ebe7ab97
commit 3df9bd1c25

2
bot.js
View File

@ -66,7 +66,7 @@ async function postFeed() {
"images",
`post-image-${currentCount}`
);
let isDownloaded = await download_image(metadata.image, path);
await download_image(metadata.image, path);
let rstream = fs.createReadStream(path);
rstream.on("open", async (fd) => {