From 01333bb3f33da6b2c51e910c0fe74637a8c8e24e Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 2 Feb 2023 23:26:34 -0800 Subject: move invoices, combine profile and dashboard --- src/lib/invoice.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/invoice.js') diff --git a/src/lib/invoice.js b/src/lib/invoice.js index 983cde2a..4c487172 100644 --- a/src/lib/invoice.js +++ b/src/lib/invoice.js @@ -29,6 +29,6 @@ export default async ({ cookies, request, url }) => { throw redirect(307, `/${user.username}/request/${request_id}`); } - if (invoice.prompt) throw redirect(307, `/invoice/${hash}/tip`); - else throw redirect(307, `/invoice/${hash}`); + if (invoice.prompt) throw redirect(307, `/${user.username}/invoice/${hash}/tip`); + else throw redirect(307, `/${user.username}/invoice/${hash}`); }; -- cgit v1.2.3