Bedarfsausweis Wohnen

This commit is contained in:
Moritz Utcke
2025-03-20 09:12:37 -03:00
parent 9706a839d6
commit 8b3e6b80c4
9 changed files with 196 additions and 105 deletions

View File

@@ -1,7 +1,8 @@
import { UUidWithPrefix } from "#components/Ausweis/types.js";
import { authorizationHeaders, authorizationMiddleware } from "#lib/middleware/authorization.js";
import { BedarfsausweisWohnenSchema, prisma } from "#lib/server/prisma";
import { prisma } from "#lib/server/prisma.js";
import { APIError, defineApiRoute } from "astro-typesafe-api/server";
import { BedarfsausweisWohnenSchema } from "src/generated/zod/bedarfsausweiswohnen.js";
import { z } from "zod";
export const PUT = defineApiRoute({