diff options
| author | Adam Soltys <[email protected]> | 2023-12-23 07:18:36 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-12-23 07:18:40 +0000 |
| commit | 873b0efba9ddc0e19391943138c4d97674a23b4f (patch) | |
| tree | 88a2ddc50db8de05a3955d0e92c7e71533c5af78 | |
| parent | a89b891a3311104f2cc34d75d97b84774924befa (diff) | |
| download | coinos-server-873b0efba9ddc0e19391943138c4d97674a23b4f.tar.gz coinos-server-873b0efba9ddc0e19391943138c4d97674a23b4f.zip | |
log tweak
| -rw-r--r-- | lib/payments.js | 2 | ||||
| -rw-r--r-- | routes/payments.js | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/payments.js b/lib/payments.js index 92cd0760..604a78d8 100644 --- a/lib/payments.js +++ b/lib/payments.js @@ -96,7 +96,7 @@ export let debit = async ({ await s(`payment:${id}`, p); await db.lPush(`${uid}:payments`, id); - l("sent", type, user.username, amount); + l(user.username, "sent", type, amount); emit(user.id, "payment", p); return p; diff --git a/routes/payments.js b/routes/payments.js index c2c9f324..ba707358 100644 --- a/routes/payments.js +++ b/routes/payments.js @@ -36,7 +36,6 @@ catchUp(); export default { async create({ body, user }, res) { - warn(user.username, JSON.stringify(body)); let { amount, hash, maxfee, fund, memo, payreq, rate, username } = body; try { |
