Merge pull request #3 from watho/fix_error_on_delete_attachment

Fix error on delete attachment
This commit is contained in:
akkuman 2024-02-21 16:34:21 +08:00 committed by GitHub
commit 69c9a2be62
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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}`)