Skip to content

Commit b1472f8

Browse files
committed
Merge branch 'master' of github.com:NiklasMerz/cordova-plugin-fingerprint-aio
2 parents 1f0acb7 + 0efaadc commit b1472f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ios/Fingerprint.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ enum PluginError:Int {
2424
func isAvailable(_ command: CDVInvokedUrlCommand){
2525
let authenticationContext = LAContext();
2626
var biometryType = "finger";
27-
let errorResponse: [AnyHashable: Any] = [
27+
var errorResponse: [AnyHashable: Any] = [
2828
"code": 0,
2929
"message": "Not Available"
3030
];
@@ -79,7 +79,7 @@ enum PluginError:Int {
7979

8080
func justAuthenticate(_ command: CDVInvokedUrlCommand) {
8181
let authenticationContext = LAContext();
82-
var errorResponse: [AnyHashable: Any] = [
82+
let errorResponse: [AnyHashable: Any] = [
8383
"message": "Something went wrong"
8484
];
8585
var pluginResult = CDVPluginResult(status: CDVCommandStatus_ERROR, messageAs: errorResponse);

0 commit comments

Comments
 (0)