diff options
| author | Adam Soltys <[email protected]> | 2024-10-31 09:34:16 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-10-31 09:34:16 -0700 |
| commit | d57d7b9aa8c038ca175ba58bb24839a4fa9dfb82 (patch) | |
| tree | be55931ba0f3c110c3001f56a5339cb63e78b761 /src/routes/(app)/send/invoice | |
| parent | eb4e11fd5e90284585e5c3c7bc9e86febaa29114 (diff) | |
| download | coinos-ui-d57d7b9aa8c038ca175ba58bb24839a4fa9dfb82.tar.gz coinos-ui-d57d7b9aa8c038ca175ba58bb24839a4fa9dfb82.zip | |
biome
Diffstat (limited to 'src/routes/(app)/send/invoice')
| -rw-r--r-- | src/routes/(app)/send/invoice/[id]/+page.server.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/(app)/send/invoice/[id]/+page.server.ts b/src/routes/(app)/send/invoice/[id]/+page.server.ts index f1c00c0f..c65a6c7b 100644 --- a/src/routes/(app)/send/invoice/[id]/+page.server.ts +++ b/src/routes/(app)/send/invoice/[id]/+page.server.ts @@ -14,7 +14,7 @@ export async function load({ cookies, params: { id }, parent }) { redirect(307, `/invoice/${id}/memo`); if (invoice.aid === aid) error(500, { message: "Cannot send to self" }); - else if (user) redirect(307, `/send/${invoice.type}/${invoice.hash}`); + else if (user) redirect(307, `/send/${invoice.type}/${invoice.hash}`); if (!user) redirect(307, `/invoice/${id}`); |
