diff options
| author | Adam Soltys <[email protected]> | 2024-02-22 13:39:01 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-02-22 13:39:01 -0800 |
| commit | 65e047cf6f7e5537e9e18a366f692affa634e7b9 (patch) | |
| tree | a07bbfcef61a6d17ec9e1e244b5d6359445008c1 /src/routes/(app)/send | |
| parent | 8d33c5fe90f731f0c4326ca787cb1150ac46fcd9 (diff) | |
| download | coinos-ui-65e047cf6f7e5537e9e18a366f692affa634e7b9.tar.gz coinos-ui-65e047cf6f7e5537e9e18a366f692affa634e7b9.zip | |
stringify items
Diffstat (limited to 'src/routes/(app)/send')
| -rw-r--r-- | src/routes/(app)/send/invoice/[id]/+page.server.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/routes/(app)/send/invoice/[id]/+page.server.js b/src/routes/(app)/send/invoice/[id]/+page.server.js index b0cbef45..dcf188b2 100644 --- a/src/routes/(app)/send/invoice/[id]/+page.server.js +++ b/src/routes/(app)/send/invoice/[id]/+page.server.js @@ -6,8 +6,6 @@ export async function load({ params: { id }, parent, url }) { let invoice = await get(`/invoice/${id}`); - console.log("OH", invoice, invoice.prompt, invoice.tip); - if (invoice.prompt && invoice.tip === null) redirect(307, `/${invoice.user.username}/invoice/${id}/tip`); if (invoice.user.username === user.username) @@ -24,7 +22,7 @@ export const actions = { await post("/payments", body, auth(cookies)); } catch (e) { - console.log("payment failed", params, e); + console.log("payment failed", id, e); return fail(400, { message: e.message }); } |
