aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sendInternal.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-01-17 11:53:24 -0800
committerAdam Soltys <[email protected]>2023-01-17 11:53:24 -0800
commite918a818acf789a6619cbf4432f0c4713d4c53e6 (patch)
tree0d30f8b6e519aaf31079f337e8808992f63f92ef /lib/sendInternal.js
parent46913d34e77f19c3dd7c105b1deec452348dd1db (diff)
downloadcoinos-server-e918a818acf789a6619cbf4432f0c4713d4c53e6.tar.gz
coinos-server-e918a818acf789a6619cbf4432f0c4713d4c53e6.zip
nostr cleanup
Diffstat (limited to 'lib/sendInternal.js')
-rw-r--r--lib/sendInternal.js5
1 files changed, 1 insertions, 4 deletions
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");