update guests logic + fix pdf

This commit is contained in:
Emily
2025-02-10 16:28:34 +01:00
parent abc485a9ef
commit 346eecc928
25 changed files with 81 additions and 51 deletions

View File

@@ -12,7 +12,7 @@ export type InvoiceData = {
}
export default defineEventHandler(async event => {
const data = await getRequestDataOld(event, { requireSchema: false, allowLitlyx: false });
const data = await getRequestData(event, []);
if (!data) return;
const { project, pid } = data;