diff options
Diffstat (limited to 'routers/repo/repo.go')
-rw-r--r-- | routers/repo/repo.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/repo.go b/routers/repo/repo.go index 567b717a70..8a0c5f975c 100644 --- a/routers/repo/repo.go +++ b/routers/repo/repo.go @@ -30,7 +30,7 @@ const ( func checkContextUser(ctx *middleware.Context, uid int64) *models.User { orgs, err := models.GetOwnedOrgsByUserIDDesc(ctx.User.Id, "updated") if err != nil { - ctx.Handle(500, "GetOwnedOrganizationsByUserIDDesc", err) + ctx.Handle(500, "GetOwnedOrgsByUserIDDesc", err) return nil } ctx.Data["Orgs"] = orgs |