Skip to content

Commit

Permalink
NFC: Fix error display (#5305)
Browse files Browse the repository at this point in the history
Simple fix, the wrong variable was used. Fixes #5298.
  • Loading branch information
dennisreimann committed Sep 12, 2023
1 parent 019ac7a commit 445e1b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BTCPayServer/Views/Shared/NFC/CheckoutEnd.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 445e1b7

Please sign in to comment.