diff options
| author | Adam Soltys <[email protected]> | 2025-09-08 09:26:47 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2025-09-08 09:26:47 -0700 |
| commit | b2f88134a3828d2df7271c7d0ae4219e5e6f7d56 (patch) | |
| tree | 90aae1ccbb81a8dacc92a58c220a21310f9f0bed /lib/payments.ts | |
| parent | 66ea0286057f43c699f4701cb4e444ff2308a414 (diff) | |
| download | coinos-server-b2f88134a3828d2df7271c7d0ae4219e5e6f7d56.tar.gz coinos-server-b2f88134a3828d2df7271c7d0ae4219e5e6f7d56.zip | |
square payments
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 bd045f98..be801622 100644 --- a/lib/payments.ts +++ b/lib/payments.ts @@ -322,7 +322,7 @@ export const completePayment = async (inv, p, user) => { nwcNotify(p); notify(p, user, withdrawal); - if (user.square) squarePayment(user); + squarePayment(p, user); l(username, "received", p.type, p.amount); callWebhook(inv, p); |
