Skip to content

Commit 4f2470e

Browse files
committed
correct unicode code for ZWSP
1 parent a7fe814 commit 4f2470e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/google/client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,10 @@ func (c *client) GetUsers(query string) ([]*admin.User, error) {
134134
// Identity Store will accept and a 'space' for an empty name but not a 'zero width space'
135135
// So we need to replace any 'zero width space' strings with a single 'space' to allow comparison and sync
136136
for _, user := range u {
137-
if user.Name.GivenName == string("\u200b") {
137+
if user.Name.GivenName == string("\u200B") {
138138
user.Name.GivenName = " "
139139
}
140-
if user.Name.FamilyName == string("\u200b") {
140+
if user.Name.FamilyName == string("\u200B") {
141141
user.Name.FamilyName = " "
142142
}
143143
}

0 commit comments

Comments
 (0)