From 873b0efba9ddc0e19391943138c4d97674a23b4f Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 23 Dec 2023 07:18:36 +0000 Subject: log tweak --- lib/payments.js | 2 +- routes/payments.js | 1 - 2 files changed, 1 insertion(+), 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 { -- cgit v1.2.3