diff --git a/services/gunDB/rpc/index.js b/services/gunDB/rpc/index.js index a255e5c2..c33857cb 100644 --- a/services/gunDB/rpc/index.js +++ b/services/gunDB/rpc/index.js @@ -33,7 +33,9 @@ const PATH_SEPARATOR = '>' const deepDecryptIfNeeded = async (value, publicKey, epubForDecryption) => { if (Schema.isObj(value)) { return Bluebird.props( - mapValues(value, o => deepDecryptIfNeeded(o, publicKey)) + mapValues(value, o => + deepDecryptIfNeeded(o, publicKey, epubForDecryption) + ) ) }