summaryrefslogtreecommitdiffstats
path: root/routers/web/org/setting.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/web/org/setting.go')
-rw-r--r--routers/web/org/setting.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/routers/web/org/setting.go b/routers/web/org/setting.go
index 747a5134b4..404aac8894 100644
--- a/routers/web/org/setting.go
+++ b/routers/web/org/setting.go
@@ -117,7 +117,8 @@ func SettingsPost(ctx *context.Context) {
// update forks visibility
if visibilityChanged {
repos, _, err := models.GetUserRepositories(&models.SearchRepoOptions{
- Actor: org.AsUser(), Private: true, ListOptions: db.ListOptions{Page: 1, PageSize: org.NumRepos}})
+ Actor: org.AsUser(), Private: true, ListOptions: db.ListOptions{Page: 1, PageSize: org.NumRepos},
+ })
if err != nil {
ctx.ServerError("GetRepositories", err)
return