diff --git a/utils/GunSmith/gun.js b/utils/GunSmith/gun.js index 983a8837..39d5e3b8 100644 --- a/utils/GunSmith/gun.js +++ b/utils/GunSmith/gun.js @@ -211,8 +211,11 @@ const handleMsg = async msg => { }) } if (msg.type === 'put') { - await waitForAuth() const [root, ...keys] = msg.path.split('>') + if (root === '$user') { + await waitForAuth() + logger.info('waited for auth ok') + } /** @type {GunT.GUNNode} */ let node =