Skip to content

Commit

Permalink
fix: simpler change for multi-region users
Browse files Browse the repository at this point in the history
  • Loading branch information
0x0elliot committed Feb 4, 2025
1 parent f633286 commit a35060c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions db-connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -5616,14 +5616,10 @@ func SetUser(ctx context.Context, user *User, updateOrg bool) error {
if err != nil {
return err
}
} else {
} else {
if len(user.Regions) == 1 {
if user.Regions[0] != "https://shuffler.io" {
user.Regions = append(user.Regions, "https://shuffler.io")
// get project region
if gceProject != "shuffler" {
propagateUser(*user, false)
}
}
}

Expand Down

0 comments on commit a35060c

Please sign in to comment.