From 4593f7a942156741ac91a6dd1bf6ca6bf386e3d4 Mon Sep 17 00:00:00 2001 From: calle <93376500+callebtc@users.noreply.github.com> Date: Mon, 6 Feb 2023 17:55:23 +0100 Subject: [PATCH] Cashu: fix recv_token param (#1471) --- lnbits/extensions/cashu/templates/cashu/wallet.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lnbits/extensions/cashu/templates/cashu/wallet.html b/lnbits/extensions/cashu/templates/cashu/wallet.html index a2594175..f5b89191 100644 --- a/lnbits/extensions/cashu/templates/cashu/wallet.html +++ b/lnbits/extensions/cashu/templates/cashu/wallet.html @@ -982,7 +982,7 @@ page_container %} @@ -1019,7 +1019,7 @@ page_container %} Copy link @@ -2893,9 +2893,9 @@ page_container %} // run migrations await this.migrationLocalstorage() - // get recv_token to receive tokens from a link - if (params.get('recv_token')) { - tokenBase64 = params.get('recv_token') + // get token to receive tokens from a link + if (params.get('token')) { + tokenBase64 = params.get('token') // make sure to react only to tokens not in the users history let seen = false for (var i = 0; i < this.historyTokens.length; i++) { @@ -2906,7 +2906,7 @@ page_container %} } if (!seen) { // show receive token dialog - this.receiveData.tokensBase64 = params.get('recv_token') + this.receiveData.tokensBase64 = params.get('token') this.showReceiveTokens = true } }