From fa8882b66a3fb8db1d6534462b8457daa7cc7cdc Mon Sep 17 00:00:00 2001 From: mhelander Date: Mon, 29 Jan 2018 20:41:58 +0200 Subject: [PATCH] Something more fixes to authrecall --- sea.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sea.js b/sea.js index e386c848..e9c0527e 100644 --- a/sea.js +++ b/sea.js @@ -528,7 +528,7 @@ } try { // auth parsing or decryption fails or returns empty - silently done - const { auth } = JSON.parse(at.put.auth) + const { auth } = at.put.auth const sea = await seaDec(auth, proof) if (!sea) { err = 'Failed to decrypt private key!'