We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34a1d9e commit 4cd0b75Copy full SHA for 4cd0b75
routers/routes/routes.go
@@ -607,7 +607,7 @@ func RegisterRoutes(m *macaron.Macaron) {
607
m.Post("/create", bindIgnErr(auth.UserCreateProjectForm{}), repo.CreateProjectPost)
608
}, repo.MustEnableProjects, func(ctx *context.Context) {
609
610
- if err := ctx.User.GetOrganizations(true); err != nil {
+ if err := ctx.User.GetOrganizations(&models.SearchOrganizationsOptions{All: true}); err != nil {
611
ctx.ServerError("GetOrganizations", err)
612
return
613
}
0 commit comments