Skip to content

Commit e4c5327

Browse files
committed
Update API
1 parent 2d12444 commit e4c5327

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

routers/api/v1/repo/action.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,12 +1115,6 @@ func DeleteActionRun(ctx *context.APIContext) {
11151115
return
11161116
}
11171117

1118-
// TODO: ?
1119-
if len(jobs) == 0 {
1120-
ctx.Status(http.StatusNoContent)
1121-
return
1122-
}
1123-
11241118
if err := actions.DeleteRun(ctx, repoID, run, jobs); err != nil {
11251119
ctx.APIErrorInternal(err)
11261120
return

0 commit comments

Comments
 (0)