From b2f88134a3828d2df7271c7d0ae4219e5e6f7d56 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 8 Sep 2025 09:26:47 -0700 Subject: square payments --- lib/payments.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/payments.ts') 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); -- cgit v1.2.3