style: format code biome
Local Build and Deploy / deploy (push) Failing after 46s

This commit is contained in:
openhands committed 2026-07-13 21:57:41 +02:00
1 parent 8efd032cc6
commit df38dccbf1
735 files changed
+128321 -120870

No files matched your search

+10 -10
View File
@@ -2,19 +2,19 @@
import { revalidatePath } from "next/cache";
import { requireStaff } from "@/lib/admin/guard";
import { prisma } from "@/lib/prisma";
import { formPositiveBigInt } from "@/lib/form-data";
import { prisma } from "@/lib/prisma";
export async function dismissApplication(formData: FormData): Promise<void> {
await requireStaff();
const id = formPositiveBigInt(formData, "id");
if (!id) return;
await requireStaff();
const id = formPositiveBigInt(formData, "id");
if (!id) return;
try {
await prisma.websiteStaffApplications.delete({ where: { id } });
} catch {
// already gone / no DB — nothing to do
}
try {
await prisma.websiteStaffApplications.delete({ where: { id } });
} catch {
// already gone / no DB — nothing to do
}
revalidatePath("/admin/applications");
revalidatePath("/admin/applications");
}