diff options
| author | Adam Soltys <[email protected]> | 2023-02-01 20:59:03 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-02-01 20:59:03 -0800 |
| commit | 549590ceb8bdd2954d2b96c14d530063104b352f (patch) | |
| tree | efc846fd235427f8371182c09eade0052181a159 | |
| parent | 6c058936a160e839551c6be4311d74c52259caf4 (diff) | |
| download | coinos-server-549590ceb8bdd2954d2b96c14d530063104b352f.tar.gz coinos-server-549590ceb8bdd2954d2b96c14d530063104b352f.zip | |
pot payment type
| -rw-r--r-- | routes/payments.js | 2 |
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); |
