From 10b3f989c8b29da865a8d56b2b7adc393158192d Mon Sep 17 00:00:00 2001 From: Gregor Lohaus Date: Mon, 30 Mar 2026 17:06:15 +0200 Subject: [PATCH] log userid --- src/app/actions.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/actions.ts b/src/app/actions.ts index 92a89b0..1776f3a 100644 --- a/src/app/actions.ts +++ b/src/app/actions.ts @@ -4,5 +4,6 @@ import { env } from "~/env" export async function isAdmin() { const userid = (await auth()).userId + console.log(userid) return (userid == env.ADMIN_USER_CLERK_ID) }