Skip to content

Commit 90ecea7

Browse files
committed
Merge branch 'master' of github.com:NiklasMerz/cordova-plugin-fingerprint-aio
2 parents b5d38c4 + 0f3c58f commit 90ecea7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ios/Fingerprint.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ import LocalAuthentication
8585
var pluginResult = CDVPluginResult(status: CDVCommandStatus_ERROR, messageAs: errorResponse);
8686
var reason = "Authentication";
8787
var policy:LAPolicy = .deviceOwnerAuthentication;
88-
let data = command.arguments[0] as AnyObject?;
88+
let data = command.arguments[0] as? [String: Any];
8989

9090
if let disableBackup = data?["disableBackup"] as! Bool? {
9191
if disableBackup {

0 commit comments

Comments
 (0)