diff options
| author | Adam Soltys <[email protected]> | 2023-02-01 16:29:13 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-02-01 16:29:13 -0800 |
| commit | 6c058936a160e839551c6be4311d74c52259caf4 (patch) | |
| tree | 5cc52f2fe6845d065c046186c1e5b8370fef7cd0 | |
| parent | 519dbafb119df5328490feae0f7f01624e0bd032 (diff) | |
| download | coinos-server-6c058936a160e839551c6be4311d74c52259caf4.tar.gz coinos-server-6c058936a160e839551c6be4311d74c52259caf4.zip | |
fix pot payments key
| -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 400bb54d..eb197ae2 100644 --- a/routes/payments.js +++ b/routes/payments.js @@ -144,7 +144,7 @@ export default { }); let payment = await credit(hash, amount, "", name, types.pot); - await db.lPush(`${name}:payments`, hash); + await db.lPush(`pot:${name}:payments`, hash); res.send({ payment }); }, |
