211 viewsNext Amazona

I am getting this issue, it says session.user.isAdmin, but the property isAdmin does not exist on type User.

Some help, please.

Thank you.

Bassir Changed status to publish February 7, 2024

add isAdmin as property to User type here:

Bassir Answered question February 5, 2024
You are viewing 1 out of 2 answers, click here to view all answers.