From e918a818acf789a6619cbf4432f0c4713d4c53e6 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 17 Jan 2023 11:53:24 -0800 Subject: nostr cleanup --- lib/sendInternal.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lib/sendInternal.js') diff --git a/lib/sendInternal.js b/lib/sendInternal.js index 0ba0f0b4..32e94aa2 100644 --- a/lib/sendInternal.js +++ b/lib/sendInternal.js @@ -11,10 +11,7 @@ import { g, s, db } from "$lib/db"; const { HOSTNAME: hostname } = process.env; -export default async ( - { amount, hash, memo, tip }, - user -) => { +export default async ({ amount, hash, memo, tip }, user) => { amount = parseInt(amount); if (!amount || amount < 0) fail("Amount must be greater than zero"); -- cgit v1.2.3