File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,6 @@ func (c *client) GetUsers(query string) ([]*admin.User, error) {
113
113
u = append (u , users .Users ... )
114
114
return nil
115
115
})
116
- return u , err
117
116
} else {
118
117
119
118
// The Google api doesn't support multi-part queries, but we do so we need to split into an array of query strings
@@ -135,13 +134,13 @@ func (c *client) GetUsers(query string) ([]*admin.User, error) {
135
134
// So we need to replace any 'zero width space' strings with a single 'space' to allow comparison and sync
136
135
for _ , user := range u {
137
136
user .Name .GivenName = strings .Replace (user .Name .GivenName , string ('\u200B' ), " " , - 1 )
138
- if len (user .Name .GivenName ) == 0 {
139
- user .Name .GivenName = " "
140
- }
137
+ // if len(user.Name.GivenName) == 0 {
138
+ // user.Name.GivenName = " "
139
+ // }
141
140
user .Name .FamilyName = strings .Replace (user .Name .FamilyName , string ('\u200B' ), " " , - 1 )
142
- if len (user .Name .FamilyName ) == 0 {
143
- user .Name .FamilyName = " "
144
- }
141
+ // if len(user.Name.FamilyName) == 0 {
142
+ // user.Name.FamilyName = " "
143
+ // }
145
144
}
146
145
147
146
// Check we've got some users otherwise something is wrong.
You can’t perform that action at this time.
0 commit comments