aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sendInternal.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sendInternal.js')
-rw-r--r--lib/sendInternal.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sendInternal.js b/lib/sendInternal.js
index 32e94aa2..6054f753 100644
--- a/lib/sendInternal.js
+++ b/lib/sendInternal.js
@@ -39,7 +39,7 @@ export default async ({ amount, hash, memo, tip }, user) => {
};
await s(`payment:${hash}`, p1);
- await db.lPush(`${user.id}:payments`, hash);
+ await db.lpush(`${user.id}:payments`, hash);
l("sent internal", user.username, -p1.amount);
emit(user.id, "payment", p1);
@@ -79,7 +79,7 @@ export default async ({ amount, hash, memo, tip }, user) => {
invoice.received += amount;
await s(`invoice:${hash}`, invoice);
await s(`payment:${id}`, p2);
- await db.lPush(`${recipient.id}:payments`, id);
+ await db.lpush(`${recipient.id}:payments`, id);
l("received internal", recipient.username, amount);
emit(recipient.username, "payment", p2);