diff options
| author | Adam Soltys <[email protected]> | 2023-02-02 23:26:34 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-02-02 23:29:42 -0800 |
| commit | 916f331e0e9a051830ce988639bb2149788e8228 (patch) | |
| tree | a2dc51e4f16fab464788c54dd60e6c18dc8923b0 /src/lib/invoice.js | |
| parent | 8ebbc178b68da89470bac68f65a365bc6366747b (diff) | |
| download | coinos-ui-916f331e0e9a051830ce988639bb2149788e8228.tar.gz coinos-ui-916f331e0e9a051830ce988639bb2149788e8228.zip | |
move invoices, combine profile and dashboard
Diffstat (limited to 'src/lib/invoice.js')
| -rw-r--r-- | src/lib/invoice.js | 4 |
1 files changed, 2 insertions, 2 deletions
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}`); }; |
