diff options
| author | Adam Soltys <[email protected]> | 2023-01-17 11:53:24 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-01-17 11:53:24 -0800 |
| commit | e918a818acf789a6619cbf4432f0c4713d4c53e6 (patch) | |
| tree | 0d30f8b6e519aaf31079f337e8808992f63f92ef /lib/sendInternal.js | |
| parent | 46913d34e77f19c3dd7c105b1deec452348dd1db (diff) | |
| download | coinos-server-e918a818acf789a6619cbf4432f0c4713d4c53e6.tar.gz coinos-server-e918a818acf789a6619cbf4432f0c4713d4c53e6.zip | |
nostr cleanup
Diffstat (limited to 'lib/sendInternal.js')
| -rw-r--r-- | lib/sendInternal.js | 5 |
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"); |
