From 9b5f8947c05ee59225ffa100e4ebd83d2a243b57 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 11 Mar 2023 16:23:15 -0800 Subject: rm log --- src/routes/(app)/send/invoice/[id]/+page.server.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') 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 }); -- cgit v1.2.3