Await for auth before putting, inside gunprocess

This commit is contained in:
Daniel Lugo 2021-09-15 12:15:18 -04:00
parent dc78fa0371
commit 549f1ba4c4

View file

@ -191,6 +191,7 @@ const handleMsg = async msg => {
})
}
if (msg.type === 'put') {
await waitForAuth()
const [root, ...keys] = msg.path.split('>')
/** @type {GunT.GUNNode} */