Skip to content

Commit a35060c

Browse files
committed
fix: simpler change for multi-region users
1 parent f633286 commit a35060c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

db-connector.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5616,14 +5616,10 @@ func SetUser(ctx context.Context, user *User, updateOrg bool) error {
56165616
if err != nil {
56175617
return err
56185618
}
5619-
} else {
5619+
} else {
56205620
if len(user.Regions) == 1 {
56215621
if user.Regions[0] != "https://shuffler.io" {
56225622
user.Regions = append(user.Regions, "https://shuffler.io")
5623-
// get project region
5624-
if gceProject != "shuffler" {
5625-
propagateUser(*user, false)
5626-
}
56275623
}
56285624
}
56295625

0 commit comments

Comments
 (0)