From 3df9bd1c2569f2bf6b8c950685e2f7da98b5e7b4 Mon Sep 17 00:00:00 2001 From: "Michael (GP)" Date: Tue, 13 Dec 2022 12:33:24 -0500 Subject: [PATCH] refactoring code --- bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.js b/bot.js index 2660daa..08ac21d 100644 --- a/bot.js +++ b/bot.js @@ -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) => {