Bugfixes und Bezahlen

This commit is contained in:
Moritz Utcke
2025-03-11 09:15:22 -03:00
parent 9b50053007
commit 8b489a94cc
13 changed files with 326 additions and 47 deletions

View File

@@ -9,6 +9,7 @@ import { getCurrentUser } from "#lib/server/user";
const user = await getCurrentUser(Astro) || {}
// POST Body
const params = new URLSearchParams(await Astro.request.text());
if (!params.has("ausweis") || !params.has("aufnahme") || !params.has("objekt") || !params.has("bilder") || !params.has("ausweisart")) {