Rank 3: Container
i want to get a specific users preferences from serverside maybe i missunderstood something
Votes
0
Replies
15
Participants
Unknown
Messages
16
Rank 3: Container
i want to get a specific users preferences from serverside maybe i missunderstood something
Rank 3: Container
the docs dont show it
I think it's that?
Rank 3: Container
but how do i know what user its from?
I think inside account.getPrefs() you can put the user object.
It should be in the docs 🤔
If by server-side you mean using a Server Side SDK with API Key?
Rank 3: Container
yes, im eating rn ill check if its possible and let you guys know
Rank 3: Container
nope it doesnt have anything that inputs userid
Rank 3: Container
weird
On Client Side, account.getPrefs() should be called after the user is successfully logged in which doesn't require passing any userID.
Rank 3: Container
this is serverside though
However, on the Server Side SDKs you do -
const user = await users.get('[USER_ID]');const prefs = user.getPrefs()Rank 3: Container
oh i see lemme check
Rank 3: Container
[Solved] how to get user prefs from serverside