From 83f2993fa0c105a01e1e54e6b0bd1590da84081b Mon Sep 17 00:00:00 2001 From: Christian Helbig Date: Mon, 5 Sep 2016 14:12:33 +0200 Subject: [PATCH] getInt returns now Integer --- src/windows/NativeStorage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/windows/NativeStorage.js b/src/windows/NativeStorage.js index 922a0e7..506bbe8 100644 --- a/src/windows/NativeStorage.js +++ b/src/windows/NativeStorage.js @@ -95,7 +95,7 @@ var NativeStorageProxy = { try { var key = args[0]; var vault = new Windows.Security.Credentials.PasswordVault(); - var passwordCredential = vault.retrieve(service, key); + var passwordCredential = parseInt(vault.retrieve(service, key)); win(passwordCredential.password); } catch (e) { fail('failed to get Int from NativeStorage - ' + e.message);