aboutsummaryrefslogtreecommitdiffstats
path: root/lib/invoices.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/invoices.ts')
-rw-r--r--lib/invoices.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/invoices.ts b/lib/invoices.ts
index 749994b4..d79ead69 100644
--- a/lib/invoices.ts
+++ b/lib/invoices.ts
@@ -51,7 +51,9 @@ export const generate = async ({ invoice, user }) => {
const id = v4();
- let hash, text, path;
+ let hash;
+ let text;
+ let path;
if (account.seed) {
type = "bitcoin";