3 Commits

Author SHA1 Message Date
69c9a2be62 Merge pull request #3 from watho/fix_error_on_delete_attachment
Fix error on delete attachment
2024-02-21 16:34:21 +08:00
91415bf0a8 build new dist 2024-02-15 14:36:47 +01:00
f6b3ef8321 fix wrong var name 2024-02-15 12:15:47 +01:00
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@ -41022,7 +41022,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}`)

View File

@ -135,7 +135,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}`)