From 397e77d8fec8f7455919468a98a8292b2de78228 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 6 Oct 2022 03:22:11 +0000 Subject: env vars --- lib/sendInternal.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') 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); -- cgit v1.2.3