adrianhajdin / project_nextjs13_flexibble

https://jsmastery.pro
639 stars 133 forks source link

error in getCurrentUser() #31

Open SachinDApp opened 10 months ago

SachinDApp commented 10 months ago

export async function getCurrentUser() {

85 | const session = (await getServerSession(authOptions)) as SessionInterface; | ^ 86 | 87 | return session; 88 | } error in this code and error message is unhandeled runtime error