aboutsummaryrefslogtreecommitdiffstats
path: root/lib/payments.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-09-08 09:26:47 -0700
committerAdam Soltys <[email protected]>2025-09-08 09:26:47 -0700
commitb2f88134a3828d2df7271c7d0ae4219e5e6f7d56 (patch)
tree90aae1ccbb81a8dacc92a58c220a21310f9f0bed /lib/payments.ts
parent66ea0286057f43c699f4701cb4e444ff2308a414 (diff)
downloadcoinos-server-b2f88134a3828d2df7271c7d0ae4219e5e6f7d56.tar.gz
coinos-server-b2f88134a3828d2df7271c7d0ae4219e5e6f7d56.zip
square payments
Diffstat (limited to 'lib/payments.ts')
-rw-r--r--lib/payments.ts2
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);