diff options
author | silverwind <me@silverwind.io> | 2024-02-03 01:11:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-03 01:11:39 +0100 |
commit | a6cea595146d0de42aa83c9cca929b015aae4552 (patch) | |
tree | 72b7b7e808531567ec08ba074f178818a0027c7d /routers/api/v1/repo | |
parent | Add artifacts v4 jwt to job message and accept it (#28885) (diff) | |
download | forgejo-a6cea595146d0de42aa83c9cca929b015aae4552.tar.xz forgejo-a6cea595146d0de42aa83c9cca929b015aae4552.zip |
Update tool dependencies (#29030)
Diffstat (limited to 'routers/api/v1/repo')
-rw-r--r-- | routers/api/v1/repo/commits.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/routers/api/v1/repo/commits.go b/routers/api/v1/repo/commits.go index 20d4405d6d..43b6400009 100644 --- a/routers/api/v1/repo/commits.go +++ b/routers/api/v1/repo/commits.go @@ -205,7 +205,6 @@ func GetAllCommits(ctx *context.APIContext) { Not: not, Revision: []string{baseCommit.ID.String()}, }) - if err != nil { ctx.Error(http.StatusInternalServerError, "GetCommitsCount", err) return @@ -245,7 +244,6 @@ func GetAllCommits(ctx *context.APIContext) { Not: not, Page: listOptions.Page, }) - if err != nil { ctx.Error(http.StatusInternalServerError, "CommitsByFileAndRange", err) return |