diff --git a/src/js/services/fingerprintService.js b/src/js/services/fingerprintService.js index 3d708e7f2..91b18af46 100644 --- a/src/js/services/fingerprintService.js +++ b/src/js/services/fingerprintService.js @@ -1,6 +1,6 @@ 'use strict'; -angular.module('copayApp.services').factory('fingerprintService', function(gettextCatalog, configService) { +angular.module('copayApp.services').factory('fingerprintService', function($log, gettextCatalog, configService) { var root = {}; var requestTouchId = function(cb) { @@ -29,7 +29,7 @@ angular.module('copayApp.services').factory('fingerprintService', function(gette }; root.check = function(client, cb) { - if (root.isAvailable()) { + if (root.isAvailable(client)) { requestTouchId(cb); } else { return cb();