diff options
Diffstat (limited to 'routers/api/v1/org')
-rw-r--r-- | routers/api/v1/org/team.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/org/team.go b/routers/api/v1/org/team.go index 443784fb8b..72387dcbf7 100644 --- a/routers/api/v1/org/team.go +++ b/routers/api/v1/org/team.go @@ -492,7 +492,7 @@ func GetTeamRepos(ctx *context.APIContext) { ctx.Error(http.StatusInternalServerError, "GetTeamRepos", err) return } - repos[i] = repo.APIFormat(access) + repos[i] = convert.ToRepo(repo, access) } ctx.JSON(http.StatusOK, repos) } |