Next.js Discord

Discord Forum

unable to access user's mobile number from session

Unanswered
Havana posted this in #help-forum
Open in Discord
Avatar
HavanaOP
I'm experiencing issues while trying to access the user's mobile from the session; It says: "Property 'mobile' does not exist on type '{ name?: string | null | undefined; email?: string | null | undefined; image?: string | null | undefined; }'. I tried accessing the types.ts where the types were declared and added mobile to the types as an optional string but still doesn't work, please help me out!!!

0 Replies