From 10a4c07a6e2adff690aa18c0fdf40f80becb5a1f Mon Sep 17 00:00:00 2001 From: Arc <33088785+arcbtc@users.noreply.github.com> Date: Tue, 4 Feb 2020 20:23:07 +0000 Subject: [PATCH] Update index.html --- lnbits/extensions/withdraw/templates/withdraw/index.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lnbits/extensions/withdraw/templates/withdraw/index.html b/lnbits/extensions/withdraw/templates/withdraw/index.html index b4e96ddd..1b1aec1f 100644 --- a/lnbits/extensions/withdraw/templates/withdraw/index.html +++ b/lnbits/extensions/withdraw/templates/withdraw/index.html @@ -260,9 +260,8 @@ function drawwithdraw() { console.log(window.location.hostname + "-" + thewithdraw[1]) getAjax("/withdraw/api/v1/lnurlencode/"+ window.location.hostname + "/" + thewithdraw[1], "filla", function(datab) { - if (JSON.parse(datab).STATUS == 'TRUE') { - console.log(JSON.parse(datab).STATUS) - lnurlfau = (JSON.parse(datab).LNURL) + if (JSON.parse(datab).status == 'TRUE') { + lnurlfau = (JSON.parse(datab).lnurl) new QRCode(document.getElementById('qrcode'), {