diff options
Diffstat (limited to 'src/routes/(app)/invoice')
| -rw-r--r-- | src/routes/(app)/invoice/+page.server.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/routes/(app)/invoice/+page.server.ts b/src/routes/(app)/invoice/+page.server.ts index 7bac3f9b..45389f8c 100644 --- a/src/routes/(app)/invoice/+page.server.ts +++ b/src/routes/(app)/invoice/+page.server.ts @@ -4,6 +4,7 @@ import type { Invoice } from "$lib/types"; export let load = async ({ cookies, parent }) => { let aid = cookies.get("aid"); + console.log("AID", aid) let { subject, user, rates } = await parent(); let invoice: Invoice = { @@ -18,7 +19,7 @@ export let load = async ({ cookies, parent }) => { } catch (e) { console.log(e); error(500, "Failed to generate invoice"); - } + } let { id } = invoice; |
