Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

userApi.listUsers is not returning the latest list of users #422

Open
NollaigShea opened this issue Jul 25, 2024 · 0 comments
Open

userApi.listUsers is not returning the latest list of users #422

NollaigShea opened this issue Jul 25, 2024 · 0 comments
Labels

Comments

@NollaigShea
Copy link

Describe the bug

We have a situation where we update a users profile using the userApi.updateUser api. We await this call to confirm that the update completed successfully. We then call userApi.listUsers to get the updated list of users (this happens less than a second after the update call) and would expect that call to include the updated user information, however it contains the old user information.

This is the exact call we make to the userAPI:

await this.client.userApi.listUsers({ search: entries.map((id) => id eq "${id}").join(' or '), });´

We initially thought it might be caching but apparently caching is not active for Collection requests.

Reproduction Steps?

  • call userApi.updateUser and update a user
  • almost immediately afterwards call userApi.listUsers
  • list of users returned will not include the latest information for the user that was just updated

SDK Versions

7.1.1

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant