Skip to content

Commit 5102158

Browse files
authored
build failed by deleting release by API (#562)
1 parent 4b0974e commit 5102158

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/api/v1/repo/release.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ func DeleteRelease(ctx *context.APIContext) {
178178
ctx.Status(404)
179179
return
180180
}
181-
if err := models.DeleteReleaseByID(id, ctx.User); err != nil {
181+
if err := models.DeleteReleaseByID(id, ctx.User, false); err != nil {
182182
ctx.Error(500, "DeleteReleaseByID", err)
183183
return
184184
}

0 commit comments

Comments
 (0)