From 7ec20ec670d9c39baa3b1ed51d61b2c6ecf7c748 Mon Sep 17 00:00:00 2001 From: BradBot_1 Date: Thu, 23 Feb 2023 22:23:01 +0000 Subject: [PATCH] FIX: Changed reference recipient to recipientData --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index d656cfd..4293dee 100644 --- a/src/index.ts +++ b/src/index.ts @@ -56,7 +56,7 @@ for (const forwardData of parsedData) { continue; } const recipient = forward.createRecipient(recipientData.url, recipientData.humanName); - if (recipient.hasOwnProperty("modifyReadme")) { + if (recipientData.hasOwnProperty("modifyReadme")) { recipient.insertToReadme = !!recipientData.modifyReadme; console.log("Readme will be modified on recipient: " + recipient.humanName||recipient.url); }