"use server";

import { getAdminUser, type AdminUser } from "@/lib/admin-permissions";
import { getSession } from "@/lib/auth";

export async function getCurrentAdminUser(): Promise<AdminUser | null> {

await getSession();  return getAdminUser();
}