Browse Source

build failed by deleting release by API (#562)

tags/v1.21.12.1
Lunny Xiao GitHub 9 years ago
parent
commit
51021585a7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/api/v1/repo/release.go

+ 1
- 1
routers/api/v1/repo/release.go View File

@@ -178,7 +178,7 @@ func DeleteRelease(ctx *context.APIContext) {
ctx.Status(404)
return
}
if err := models.DeleteReleaseByID(id, ctx.User); err != nil {
if err := models.DeleteReleaseByID(id, ctx.User, false); err != nil {
ctx.Error(500, "DeleteReleaseByID", err)
return
}


Loading…
Cancel
Save