aboutsummaryrefslogtreecommitdiffstats
path: root/lib/payments.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-06-16 20:54:28 +0000
committerAdam Soltys <[email protected]>2025-06-16 20:54:29 +0000
commite92f232d7194626d9182a5eaeff3d42d67fbb53f (patch)
treedaa2edd3a524f478c31e48a3d4e916b69b13737b /lib/payments.ts
parent25e256800754733776f8c124e7b61134a8344cbf (diff)
downloadcoinos-server-e92f232d7194626d9182a5eaeff3d42d67fbb53f.tar.gz
coinos-server-e92f232d7194626d9182a5eaeff3d42d67fbb53f.zip
username checks
Diffstat (limited to 'lib/payments.ts')
-rw-r--r--lib/payments.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/payments.ts b/lib/payments.ts
index 437db14f..cbff6dd3 100644
--- a/lib/payments.ts
+++ b/lib/payments.ts
@@ -299,6 +299,7 @@ export const completePayment = async (inv, p, user) => {
if (p.confirmed) {
if (autowithdraw) {
try {
+ fail("autowithdrawals disabled");
const to = destination.trim();
const balance = await g(`balance:${id}`);
const amount = balance - reserve;