Open 4mierS opened 4 months ago
const currentUserEmail = session?.user?.emial!; not working
const currentUserEmail = session?.user?.emial!;
Problem is, emial is undefined
Do changes on profile
next13\app\dashboard
next13\app\api\auth[...nextauth]
Problem:
is not unique prisma.update needs an unique data
Problme:
not working because not in type User need to change auto generated files !!!
Bug
const currentUserEmail = session?.user?.emial!;
not workingUsage
Do changes on profile
Concerned files
next13\app\dashboard
next13\app\api\auth[...nextauth]