NFC: Fix error display (#5305)

Simple fix, the wrong variable was used. Fixes #5298.
This commit is contained in:
d11n 2023-09-12 06:48:19 +02:00 committed by GitHub
parent 019ac7ae31
commit 445e1b7bd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);