Skip to content

Commit 4cd0b75

Browse files
committed
fix build
1 parent 34a1d9e commit 4cd0b75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/routes/routes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ func RegisterRoutes(m *macaron.Macaron) {
607607
m.Post("/create", bindIgnErr(auth.UserCreateProjectForm{}), repo.CreateProjectPost)
608608
}, repo.MustEnableProjects, func(ctx *context.Context) {
609609

610-
if err := ctx.User.GetOrganizations(true); err != nil {
610+
if err := ctx.User.GetOrganizations(&models.SearchOrganizationsOptions{All: true}); err != nil {
611611
ctx.ServerError("GetOrganizations", err)
612612
return
613613
}

0 commit comments

Comments
 (0)