aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/payments.js2
1 files changed, 1 insertions, 1 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;