diff options
Diffstat (limited to 'routers/user/home.go')
-rw-r--r-- | routers/user/home.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/routers/user/home.go b/routers/user/home.go index 3436a44bae..431ffdde8e 100644 --- a/routers/user/home.go +++ b/routers/user/home.go @@ -770,9 +770,6 @@ func getActiveTeamOrOrgRepoIds(ctxUser *models.User, team *models.Team, unitType if team != nil { env = ctxUser.AccessibleTeamReposEnv(team) - if err != nil { - return nil, fmt.Errorf("AccessibleTeamReposEnv: %v", err) - } } else { env, err = ctxUser.AccessibleReposEnv(ctxUser.ID) if err != nil { |