feat: redesign CMS and unify German admin UI
This commit is contained in:
@@ -16,7 +16,7 @@ export async function POST(request: Request, { params }: Args) {
|
||||
if (!user || user.collection !== "customers") {
|
||||
return NextResponse.json({ error: "Bitte melde dich an." }, { status: 401 });
|
||||
}
|
||||
// Cancelling is deliberately allowed regardless of verification status —
|
||||
// Cancelling is deliberately allowed regardless of verification status -
|
||||
// only creating/confirming a booking is a gated "protected" action.
|
||||
|
||||
return await withBookingTransaction(payload, `booking:${id}`, async (req) => {
|
||||
|
||||
Reference in New Issue
Block a user