FIX: Changed reference recipient to recipientData
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
BradBot_1 2023-02-23 22:23:01 +00:00
parent 6486356b6a
commit 7ec20ec670

View file

@ -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);
}