How to check in a Nuxt route middleware if a user is an admin or not with Supabase and prisma?
I want to check if a user is an admin or not in a Nuxt route middleware with Supabase and prisma and redirect the user to the homepage if they are not an admin.