WIP on dev-moritz

This commit is contained in:
Moritz Utcke
2025-01-21 12:35:20 +07:00
parent 5a551c0f33
commit de8c859826
59 changed files with 1221 additions and 397 deletions

View File

@@ -1,7 +1,7 @@
---
import { BenutzerClient, VerbrauchsausweisWohnenClient } from "#components/Ausweis/types";
import { createCaller } from "#lib/caller";
import { pdfDatenblatt } from "#lib/pdf/pdfDatenblatt";
import { pdfDatenblattVerbrauchsausweisWohnen } from "#lib/pdf/pdfDatenblattVerbrauchsausweisWohnen";
const base64 = Astro.url.searchParams.get("base64");
let ausweis: VerbrauchsausweisWohnenClient | null = null;
@@ -23,7 +23,7 @@ if (base64) {
});
}
const pdf = await pdfDatenblatt(ausweis);
const pdf = await pdfDatenblattVerbrauchsausweisWohnen(ausweis);
return new Response(pdf, {