aboutsummaryrefslogtreecommitdiffstats
path: root/lib/payments.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-02-10 23:36:34 -0800
committerAdam Soltys <[email protected]>2023-02-11 00:37:46 -0800
commit60cf57d56f617998e093e81b229e18c9a221e312 (patch)
treea7d0dbc1096b00cdc940ce1138e527fdbf92c2c2 /lib/payments.js
parenta059697ad1dab4308f9bc9c2957dc574f6e5518a (diff)
downloadcoinos-server-60cf57d56f617998e093e81b229e18c9a221e312.tar.gz
coinos-server-60cf57d56f617998e093e81b229e18c9a221e312.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 2c0eb0c0..e946e41e 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 (
@@ -66,7 +66,7 @@ export let debit = async (
currency,
type,
ref,
- created: Date.now(),
+ created: Date.now()
};
await s(`payment:${id}`, p);
@@ -98,7 +98,7 @@ export let credit = async (hash, amount, memo, ref, type = types.internal) => {
ref,
type,
confirmed: true,
- created: Date.now(),
+ created: Date.now()
};
let { tip } = invoice;