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
user is not an interface but a class. Maybe an old version of node-sdk (pre v2) has been used to test here => I also saw a change in the wizard markdowns that supports that theory :)
I think there is no problem here, getCurrentUser just returns a User object (and that does of course not comply to that interface)
The return value of
await sdk.sessions().getCurrentUser(jwt);
has a form, that doesn't match the User interface. This is an example return value:The text was updated successfully, but these errors were encountered: