From 549590ceb8bdd2954d2b96c14d530063104b352f Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 1 Feb 2023 20:59:03 -0800 Subject: pot payment type --- routes/payments.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/payments.js b/routes/payments.js index eb197ae2..5c3944ce 100644 --- a/routes/payments.js +++ b/routes/payments.js @@ -59,7 +59,7 @@ export default { await credit(hash, amount, memo, user.id); } else { let pot = name || v4(); - p = await debit(hash, amount, 0, memo, user); + p = await debit(hash, amount, 0, memo, user, types.pot); await db.incrBy(`pot:${pot}`, amount); await db.lPush(`pot:${pot}:payments`, p.id); l("funded pot", pot); -- cgit v1.2.3