mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-24 07:49:34 +02:00
build failed by deleting release by API (#562)
This commit is contained in:
1 parent
4b0974ec10
commit
51021585a7
1 file changed
+1
-1
@@ -178,7 +178,7 @@ func DeleteRelease(ctx *context.APIContext) {
|
|||||||
ctx.Status(404)
|
ctx.Status(404)
|
||||||
return
|
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)
|
ctx.Error(500, "DeleteReleaseByID", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user