Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
6543 committed Jun 14, 2021
1 parent d7f2e21 commit a50b2e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/org.go
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ type MinimalOrg = User

// GetUserOrgsList returns one user's all orgs list
func GetUserOrgsList(uid int64) ([]*MinimalOrg, error) {
var orgs = make([]*SimpleOrg, 0, 20)
var orgs = make([]*MinimalOrg, 0, 20)
return orgs, x.Select("id, name, full_name, visibility, avatar, avatar_email, use_custom_avatar").
Table("user").
In("id", queryUserOrgIDs(uid)).
Expand Down

0 comments on commit a50b2e1

Please sign in to comment.