This commit is contained in:
hatim boufnichel 2021-07-24 15:36:39 +02:00
parent 01d9385813
commit ce4bc5556c

View file

@ -2376,9 +2376,11 @@ module.exports = async (
? gun.user(publicKey) ? gun.user(publicKey)
: gun : gun
keys.forEach(key => (node = node.get(key))) keys.forEach(key => (node = node.get(key)))
console.log(`fetching: ${keys}`)
return new Promise((res, rej) => { return new Promise((res, rej) => {
const listener = data => { const listener = data => {
console.log(`got res for: ${keys}`)
console.log(data)
if (publicKeyForDecryption) { if (publicKeyForDecryption) {
GunWriteRPC.deepDecryptIfNeeded( GunWriteRPC.deepDecryptIfNeeded(
data, data,