Skip to content

Commit cf32df5

Browse files
committed
...
1 parent ed31322 commit cf32df5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/release.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ func UpdateRelease(doer *User, gitRepo *git.Repository, rel *Release, attachment
399399
return err
400400
}
401401

402-
err = addReleaseAttachments(rel.ID, attachmentUUIDs)
402+
err = linkReleaseAttachments(rel.ID, attachmentUUIDs)
403403

404404
mode, _ := AccessLevel(doer, rel.Repo)
405405
if err1 := PrepareWebhooks(rel.Repo, HookEventRelease, &api.ReleasePayload{

0 commit comments

Comments
 (0)