We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed98490 commit 6a1d8fcCopy full SHA for 6a1d8fc
routers/api/v1/repo/release_attachment.go
@@ -103,7 +103,7 @@ func ListReleaseAttachments(ctx *context.APIContext) {
103
releaseID := ctx.ParamsInt64(":id")
104
release, err := repo_model.GetReleaseByID(ctx, releaseID)
105
if err != nil {
106
- if models.IsErrReleaseNotExist(err) {
+ if repo_model.IsErrReleaseNotExist(err) {
107
ctx.NotFound()
108
return
109
}
@@ -173,7 +173,7 @@ func CreateReleaseAttachment(ctx *context.APIContext) {
173
174
175
176
177
178
179
0 commit comments