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 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); |
