Dental Care

This commit is contained in:
Iliyan Angelov
2025-11-16 14:29:51 +02:00
commit 39077550ef
194 changed files with 43197 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
"use server";
import { getServerSession } from "@/lib/auth-session/get-session";
import { forbidden, unauthorized } from "next/navigation";
import { setTimeout } from "node:timers/promises";
export async function deleteApplication() {
const session = await getServerSession();
const user = session?.user;
if (!user) unauthorized();
if (user.role !== "admin") forbidden();
// Delete app...
await setTimeout(800);
}