Skip to content

Commit

Permalink
Merge pull request #1164 from tigrisdata/main
Browse files Browse the repository at this point in the history
Beta release
  • Loading branch information
JigarJoshi authored May 9, 2023
2 parents e1f4ed7 + 355a237 commit b228397
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions server/services/v1/auth/user_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,7 @@ func (um *DefaultUsersManager) ListUsers(ctx context.Context, _ *api.ListUsersRe
log.Err(err).Msg("Failed to get namespace while listing invitations")
return nil, errors.Internal("Could not list users")
}

queryStr := fmt.Sprintf("app_metadata.tigris_namespace:%s", namespace)
queryStr := fmt.Sprintf("app_metadata.accessibleNamespaces.code:%s", namespace)
users, err := um.Management.User.List(management.Query(queryStr))
if err != nil {
log.Err(err).Msg("Failed to get list of users from auth0")
Expand Down

0 comments on commit b228397

Please sign in to comment.