diff options
Diffstat (limited to 'routers/api/v1/repo/status.go')
-rw-r--r-- | routers/api/v1/repo/status.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/repo/status.go b/routers/api/v1/repo/status.go index e7318edaa5..3b6d9b04c1 100644 --- a/routers/api/v1/repo/status.go +++ b/routers/api/v1/repo/status.go @@ -300,7 +300,7 @@ func GetCombinedCommitStatusByRef(ctx *context.APIContext) { retStatus := &combinedCommitStatus{ SHA: sha, TotalCount: len(statuses), - Repo: repo.APIFormat(ctx.Repo.AccessMode), + Repo: convert.ToRepo(repo, ctx.Repo.AccessMode), URL: "", } |