From 9148be43be85d7f41b4ed2367a0d20eea98730a2 Mon Sep 17 00:00:00 2001 From: Dennis Reimann Date: Fri, 8 Sep 2023 12:48:19 +0200 Subject: [PATCH] NFC: Fix error display Simple fix, the wrong variable was used. Fixes #5298. --- BTCPayServer/Views/Shared/NFC/CheckoutEnd.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BTCPayServer/Views/Shared/NFC/CheckoutEnd.cshtml b/BTCPayServer/Views/Shared/NFC/CheckoutEnd.cshtml index 6d84c92511..acda9ee23a 100644 --- a/BTCPayServer/Views/Shared/NFC/CheckoutEnd.cshtml +++ b/BTCPayServer/Views/Shared/NFC/CheckoutEnd.cshtml @@ -210,7 +210,7 @@ Vue.component("lnurl-withdraw-checkout", { if (response.ok) { this.successMessage = result; } else { - this.reportNfcError(error); + this.reportNfcError(result); } } catch (error) { this.reportNfcError(error);