aboutsummaryrefslogtreecommitdiffstats
path: root/lib/payments.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-04-06 15:25:07 -0700
committerAdam Soltys <[email protected]>2023-04-06 15:25:07 -0700
commit99b72e143866d5cc62ba04847885070dc9a5c645 (patch)
treeabda08ae881b6e9bfff2ebbcf58d1409d7395fcf /lib/payments.js
parent5083648dc113547c1c604e0c93ed0ee961f01ea3 (diff)
downloadcoinos-server-99b72e143866d5cc62ba04847885070dc9a5c645.tar.gz
coinos-server-99b72e143866d5cc62ba04847885070dc9a5c645.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 fe6a718c..7dbc1775 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);
@@ -139,7 +139,7 @@ export let credit = async (hash, amount, memo, ref, type = types.internal) => {
tip,
type,
confirmed: true,
- created: Date.now(),
+ created: Date.now()
};
if (type === types.bitcoin) invoice.pending += amount;