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 4b0974e commit 5102158Copy full SHA for 5102158
routers/api/v1/repo/release.go
@@ -178,7 +178,7 @@ func DeleteRelease(ctx *context.APIContext) {
178
ctx.Status(404)
179
return
180
}
181
- if err := models.DeleteReleaseByID(id, ctx.User); err != nil {
+ if err := models.DeleteReleaseByID(id, ctx.User, false); err != nil {
182
ctx.Error(500, "DeleteReleaseByID", err)
183
184
0 commit comments