diff options
| author | Adam Soltys <[email protected]> | 2023-03-11 16:23:15 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-03-11 16:23:15 -0800 |
| commit | 9b5f8947c05ee59225ffa100e4ebd83d2a243b57 (patch) | |
| tree | a8437f618a3e1c395a7ad174ad346d755a2a5e45 /src | |
| parent | 2810139cfb19643527c8be4589ab1562c441f618 (diff) | |
| download | coinos-ui-9b5f8947c05ee59225ffa100e4ebd83d2a243b57.tar.gz coinos-ui-9b5f8947c05ee59225ffa100e4ebd83d2a243b57.zip | |
rm log
Diffstat (limited to 'src')
| -rw-r--r-- | src/routes/(app)/send/invoice/[id]/+page.server.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/routes/(app)/send/invoice/[id]/+page.server.js b/src/routes/(app)/send/invoice/[id]/+page.server.js index c3ae0945..0d23d307 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 { amount, address, rate, prompt, tip, text, user: recipient } = await get(`/invoice/${id}`); - console.log("AMOUNT, TIP", amount, tip) - if (prompt && tip === null) throw redirect(307, `/${recipient.username}/invoice/${id}/tip`); if (recipient.username === user.username) throw error(500, { message: 'Cannot send to self' }); return { amount, address, tip, rate, payreq: text, recipient }; @@ -19,8 +17,6 @@ export const actions = { let body = await fd(request); body.hash = hash; - console.log("SENDING BODY", body) - await post('/payments', body, auth(cookies)); } catch (e) { return fail(400, { message: e.message }); |
