build failed by deleting release by API (#562)

tokarchuk/v1.17
Lunny Xiao 8 years ago committed by GitHub
parent 4b0974ec10
commit 51021585a7
  1. 2
      routers/api/v1/repo/release.go

@ -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