diff options
Diffstat (limited to 'lib/payments.ts')
| -rw-r--r-- | lib/payments.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/payments.ts b/lib/payments.ts index b01c926c..cb66bd48 100644 --- a/lib/payments.ts +++ b/lib/payments.ts @@ -235,8 +235,8 @@ export let credit = async ({ export let completePayment = async (inv, p, user) => { let { id, autowithdraw, threshold, reserve, destination, username } = user; + let withdrawal; if (p.confirmed) { - let withdrawal; if (autowithdraw) { try { let to = destination.trim(); |
