aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/invoice/+page.server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/(app)/invoice/+page.server.ts')
-rw-r--r--src/routes/(app)/invoice/+page.server.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/(app)/invoice/+page.server.ts b/src/routes/(app)/invoice/+page.server.ts
index fa644eb9..5f3c38d3 100644
--- a/src/routes/(app)/invoice/+page.server.ts
+++ b/src/routes/(app)/invoice/+page.server.ts
@@ -5,7 +5,7 @@ import type { Invoice } from "$lib/types";
export let load = async ({ cookies, parent }) => {
let aid = cookies.get("aid");
let { subject, user, rates } = await parent();
- if (aid === user.id) redirect(307, `/${user.username}/receive`)
+ if (aid === user.id) redirect(307, `/${user.username}/receive`);
let invoice: Invoice = {
aid,