From ef0af906ff5d9627aa286860fab09650865fd8ec Mon Sep 17 00:00:00 2001 From: florianfederspiel Date: Mon, 13 Oct 2025 21:32:59 +0200 Subject: [PATCH] Fixed standardE-Mail for Invoices --- src/routes/auth/me.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/auth/me.ts b/src/routes/auth/me.ts index ed528c3..96418c0 100644 --- a/src/routes/auth/me.ts +++ b/src/routes/auth/me.ts @@ -25,7 +25,7 @@ export default async function meRoutes(server: FastifyInstance) { // 2. Tenants laden (alle Tenants des Users) const { data: tenantLinks, error: tenantLinksError } = await server.supabase .from("auth_users") - .select(`*, tenants!auth_tenant_users ( id, name,short, locked, extraModules, businessInfo, numberRanges, dokuboxkey )`) + .select(`*, tenants!auth_tenant_users ( id, name,short, locked, extraModules, businessInfo, numberRanges, dokuboxkey, standardEmailForInvoices )`) .eq("id", authUser.user_id) .single();