From 549f1ba4c42303b2c00d2a4fd603f46acfce6274 Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Wed, 15 Sep 2021 12:15:18 -0400 Subject: [PATCH] Await for auth before putting, inside gunprocess --- utils/GunSmith/gun.js | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/GunSmith/gun.js b/utils/GunSmith/gun.js index 444158da..5884529e 100644 --- a/utils/GunSmith/gun.js +++ b/utils/GunSmith/gun.js @@ -191,6 +191,7 @@ const handleMsg = async msg => { }) } if (msg.type === 'put') { + await waitForAuth() const [root, ...keys] = msg.path.split('>') /** @type {GunT.GUNNode} */