Skip to content

Commit

Permalink
Merge branch 'master' of github.com:NiklasMerz/cordova-plugin-fingerp…
Browse files Browse the repository at this point in the history
…rint-aio
  • Loading branch information
NiklasMerz committed Dec 9, 2021
2 parents 1f0acb7 + 0efaadc commit b1472f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ios/Fingerprint.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ enum PluginError:Int {
func isAvailable(_ command: CDVInvokedUrlCommand){
let authenticationContext = LAContext();
var biometryType = "finger";
let errorResponse: [AnyHashable: Any] = [
var errorResponse: [AnyHashable: Any] = [
"code": 0,
"message": "Not Available"
];
Expand Down Expand Up @@ -79,7 +79,7 @@ enum PluginError:Int {

func justAuthenticate(_ command: CDVInvokedUrlCommand) {
let authenticationContext = LAContext();
var errorResponse: [AnyHashable: Any] = [
let errorResponse: [AnyHashable: Any] = [
"message": "Something went wrong"
];
var pluginResult = CDVPluginResult(status: CDVCommandStatus_ERROR, messageAs: errorResponse);
Expand Down

0 comments on commit b1472f8

Please sign in to comment.