aboutsummaryrefslogtreecommitdiffstats
path: root/lib/payments.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-04-04 00:05:39 -0700
committerAdam Soltys <[email protected]>2023-04-04 00:05:39 -0700
commit8b67a32b6ffc87b14ef1fa26b6596695419b8e3e (patch)
tree86f7acca86021d5a1cc02aae0f6d4edefe60376c /lib/payments.js
parent0aea60330afff02ad8bb525c5fddd7c367abf03a (diff)
downloadcoinos-server-8b67a32b6ffc87b14ef1fa26b6596695419b8e3e.tar.gz
coinos-server-8b67a32b6ffc87b14ef1fa26b6596695419b8e3e.zip
prettier
Diffstat (limited to 'lib/payments.js')
-rw-r--r--lib/payments.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/payments.js b/lib/payments.js
index 5dc24c9b..7eab01b0 100644
--- a/lib/payments.js
+++ b/lib/payments.js
@@ -13,7 +13,7 @@ export const types = {
bitcoin: "bitcoin",
lightning: "lightning",
pot: "pot",
- classic: "classic"
+ classic: "classic",
};
export let debit = async (
@@ -89,7 +89,7 @@ export let debit = async (
type,
ref,
tip,
- created: Date.now()
+ created: Date.now(),
};
await s(`payment:${id}`, p);
@@ -136,7 +136,7 @@ export let credit = async (hash, amount, memo, ref, type = types.internal) => {
tip,
type,
confirmed: true,
- created: Date.now()
+ created: Date.now(),
};
invoice.received += amount;