Hi! This might be a dumb question but I was implementing the User Metadata feature, and added some m...
d
Hi! This might be a dumb question but I was implementing the User Metadata feature, and added some metadata for a user. I was expecting to see the result in the supertokens user_metadata table, but seems to be empty. What does that table do then?
r
hey @drixhua it should be reflected in that table. How are you adding info to the user metadata?
d
await UserMetadata.updateUserMetadata(userId, { stripeId: session1.customer });
When I retrieve like
await UserMetadata.getUserMetadata(userId);
and console log it, the data appears though
r
hmm. Thats really odd. Do the other tables have the expected info?
d
sorry, wrong database. Thank you