You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know it needed further analysis etc... specially because sdk-core-js isn't public but the purpose was just to make more clear what I meant on the issue 😅
When updating a user I found out by trying to update user.customAttributes with more than one attribute, we need to either:
or
2. Load user attributes and then call update()
but the same applies for any parameter that you wish to update but is in a different order.
Suggestion: change parameters to an object so we send just the ones we need
OR
add a skip value (e.g.
if email==='_' doNotUpdateThis
).also the
updateCustomAttribute()
could be accept more than one attribute per call.The text was updated successfully, but these errors were encountered: