diff options
Diffstat (limited to 'src/routes/(app)/invoice/+page.server.ts')
| -rw-r--r-- | src/routes/(app)/invoice/+page.server.ts | 2 |
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 dc024229..92cfd18d 100644 --- a/src/routes/(app)/invoice/+page.server.ts +++ b/src/routes/(app)/invoice/+page.server.ts @@ -11,7 +11,7 @@ export const load = async ({ cookies, parent }) => { if (aid === user.id) redirect(307, `/${user.username}/receive`); let invoice: Invoice = { - aid, + aid: aid || "", rate: rates[user?.currency || subject?.currency], }; |
