aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--routes/payments.js2
1 files changed, 1 insertions, 1 deletions
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);