diff options
Diffstat (limited to 'models/release.go')
-rw-r--r-- | models/release.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/release.go b/models/release.go index 94e803c716..b169920f2f 100644 --- a/models/release.go +++ b/models/release.go @@ -132,7 +132,7 @@ func AddReleaseAttachments(ctx context.Context, releaseID int64, attachmentUUIDs } } - return + return err } // GetRelease returns release by given ID. @@ -305,7 +305,7 @@ func GetReleaseAttachments(ctx context.Context, rels ...*Release) (err error) { sortedRels.Rel[currentIndex].Attachments = append(sortedRels.Rel[currentIndex].Attachments, attachment) } - return + return err } type releaseSorter struct { |