aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sendInternal.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-10-06 03:22:11 +0000
committerAdam Soltys <[email protected]>2022-10-06 03:22:11 +0000
commit397e77d8fec8f7455919468a98a8292b2de78228 (patch)
tree02e4c7b8a0821e7bdc947f0903a16f26a0c87ec2 /lib/sendInternal.js
parentfb91aa048617f0894e01c1e890ec957a3170539f (diff)
downloadcoinos-server-397e77d8fec8f7455919468a98a8292b2de78228.tar.gz
coinos-server-397e77d8fec8f7455919468a98a8292b2de78228.zip
env vars
Diffstat (limited to 'lib/sendInternal.js')
-rw-r--r--lib/sendInternal.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sendInternal.js b/lib/sendInternal.js
index fbe4d95f..e8e5e1b6 100644
--- a/lib/sendInternal.js
+++ b/lib/sendInternal.js
@@ -10,9 +10,10 @@ import { sendLiquid } from "$routes/liquid/send";
import { l, err } from "$lib/logging";
import { fail } from "$lib/utils";
+const { HOSTNAME: hostname } = process.env;
+
export default async (
{ amount, address, payreq, unconfidential, asset, memo, username },
- hostname,
user
) => {
amount = parseInt(amount);