aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/send/user
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-02-02 23:26:34 -0800
committerAdam Soltys <[email protected]>2023-02-02 23:29:42 -0800
commit916f331e0e9a051830ce988639bb2149788e8228 (patch)
treea2dc51e4f16fab464788c54dd60e6c18dc8923b0 /src/routes/(app)/send/user
parent8ebbc178b68da89470bac68f65a365bc6366747b (diff)
downloadcoinos-ui-916f331e0e9a051830ce988639bb2149788e8228.tar.gz
coinos-ui-916f331e0e9a051830ce988639bb2149788e8228.zip
move invoices, combine profile and dashboard
Diffstat (limited to 'src/routes/(app)/send/user')
-rw-r--r--src/routes/(app)/send/user/[username]/[...amount]/+page.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/(app)/send/user/[username]/[...amount]/+page.svelte b/src/routes/(app)/send/user/[username]/[...amount]/+page.svelte
index a5b463be..87eba733 100644
--- a/src/routes/(app)/send/user/[username]/[...amount]/+page.svelte
+++ b/src/routes/(app)/send/user/[username]/[...amount]/+page.svelte
@@ -24,7 +24,7 @@
amount = a;
amountFiat = af;
- ({ hash } = await post('/invoice', {
+ ({ hash } = await post(`/${recipient.username}/invoice`, {
invoice: {
amount,
rate: rates[recipient.currency],