javascript icon indicating copy to clipboard operation
javascript copied to clipboard

`publicMetadata` does not update within the member list object, it is always empty.

Open pavittarx opened this issue 1 year ago • 6 comments

Preliminary Checks

  • [X] I have reviewed the documentation: https://clerk.com/docs

  • [X] I have searched for existing issues: https://github.com/clerkinc/javascript/issues

  • [X] I have not already reached out to Clerk support via email or Discord (if you have, no need to open an issue here)

  • [X] This issue is not a question, general help request, or anything other than a bug report directly related to Clerk. Please ask questions in our Discord community: https://clerk.com/discord.

Reproduction / Replay Link

https://replit.com/@PavittarSingh1/ClerkBackendAPI-1

Publishable key

pk_test_aGVscGluZy1qYWd1YXItODguY2xlcmsuYWNjb3VudHMuZGV2JA

Description

Steps to reproduce:

  1. Update publicMetadata for any user.
  2. Fetch Individual user data, vs all the members of the organization.

Expected behavior: the member within the organization member list should have their publicMetadata updated.

Actual behavior:

  • publicMetadata is updated and correct when fetching individual user data.
  • publicMetadata is empty in organizationMembersList

image

image

image

Environment

I tried it locally + on replit, so this is more of a problem w/ SDK. 
Let me know, if any more information is needed. 
Thanks!

pavittarx avatar Oct 26 '23 18:10 pavittarx