From f6b3ef8321dc9308258e734f47934b18e060ceb8 Mon Sep 17 00:00:00 2001 From: watho Date: Thu, 15 Feb 2024 12:15:47 +0100 Subject: [PATCH] fix wrong var name --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index f817c2d..b5723ca 100644 --- a/main.js +++ b/main.js @@ -109,7 +109,7 @@ async function uploadFiles(client, owner, repo, release_id, all_files) { await client.repository.repoDeleteReleaseAttachment({ owner: owner, repo: repo, - id: id, + id: release_id, attachmentId: attachment.id, }) console.log(`Successfully deleted old release attachment ${attachment.name}`)