Skip to content

Commit

Permalink
build failed by deleting release by API (#562)
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed Jan 3, 2017
1 parent 4b0974e commit 5102158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routers/api/v1/repo/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 5102158

Please sign in to comment.