diff options
| author | Adam Soltys <[email protected]> | 2024-10-20 18:40:39 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-10-20 18:40:39 +0000 |
| commit | 5aec744dc98bb73e3d2cf8a2d9d4862269efc195 (patch) | |
| tree | 53a24a453e6cf72d7e97a41e2592a3a7e4738f26 /lib/payments.ts | |
| parent | f2c161ba8cdbb7b48398a875e51833f43548dc1b (diff) | |
| download | coinos-server-5aec744dc98bb73e3d2cf8a2d9d4862269efc195.tar.gz coinos-server-5aec744dc98bb73e3d2cf8a2d9d4862269efc195.zip | |
move variable declaration
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(); |
