aboutsummaryrefslogtreecommitdiffstats
path: root/routes/ecash.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-02-24 13:18:42 -0800
committerAdam Soltys <[email protected]>2026-02-24 13:18:42 -0800
commitad7b09b43323d0ffc0a8ddabb43e4838a184c697 (patch)
treefbf2a59f81771b2938f474c8e7b35a497d2960e4 /routes/ecash.ts
parent9e97e040617bfa0b40150c0eba298bf186bbeeaf (diff)
downloadcoinos-server-ad7b09b43323d0ffc0a8ddabb43e4838a184c697.tar.gz
coinos-server-ad7b09b43323d0ffc0a8ddabb43e4838a184c697.zip
formatting
Diffstat (limited to 'routes/ecash.ts')
-rw-r--r--routes/ecash.ts12
1 files changed, 1 insertions, 11 deletions
diff --git a/routes/ecash.ts b/routes/ecash.ts
index 57cc49c1..b4c16404 100644
--- a/routes/ecash.ts
+++ b/routes/ecash.ts
@@ -104,17 +104,7 @@ export default {
const { lightning: type } = PaymentType;
if (user.username !== "mint") fail("unauthorized");
const { id: uid, currency } = user;
- const ourfee = await tbDebit(
- uid,
- uid,
- type,
- amount || 0,
- 0,
- 0,
- 0,
- 0,
- "Insufficient funds",
- );
+ const ourfee = await tbDebit(uid, uid, type, amount || 0, 0, 0, 0, 0, "Insufficient funds");
const rates = await g("rates");
const rate = rates[currency];