Skip to content

Commit 209eb59

Browse files
committed
update
1 parent 80dae17 commit 209eb59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/api/v1/repo/action.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1249,7 +1249,7 @@ func GetWorkflowJob(ctx *context.APIContext) {
12491249
}
12501250

12511251
if !has || job.RepoID != ctx.Repo.Repository.ID {
1252-
ctx.APIError(http.StatusNotFound, util.ErrNotExist)
1252+
ctx.APIErrorNotFound(util.ErrNotExist)
12531253
return
12541254
}
12551255

0 commit comments

Comments
 (0)