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/routes/(app)/launch/purchase/+page.server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/routes/(app)/launch') diff --git a/src/routes/(app)/launch/purchase/+page.server.js b/src/routes/(app)/launch/purchase/+page.server.js index ad5cb039..a3043d9c 100644 --- a/src/routes/(app)/launch/purchase/+page.server.js +++ b/src/routes/(app)/launch/purchase/+page.server.js @@ -40,6 +40,6 @@ export const actions = { let { id } = await post('/invoice', { invoice, user }, auth(cookies)); - throw redirect(307, `/invoice/${id}`); + throw redirect(307, `/${user.username}/invoice/${id}`); } }; -- cgit v1.2.3