From 83fcbff81ff8f30965d520b196d0a40ad8b1ffb3 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Thu, 5 Dec 2019 18:47:23 -0500 Subject: [PATCH] fix(ipns): fix allowOffline flag --- test/ipns.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ipns.js b/test/ipns.js index a0ae7cf4..ad204098 100644 --- a/test/ipns.js +++ b/test/ipns.js @@ -37,7 +37,7 @@ const publishAndResolve = async (publisherDaemon, resolverDaemon) => { const result = await publisherDaemon.api.id() const nodeId = result.id - await publisherDaemon.api.name.publish(ipfsRef, { resolve: false, 'allow-offline': true }) + await publisherDaemon.api.name.publish(ipfsRef, { resolve: false, allowOffline: true }) !sameDaemon && await stopPublisherAndStartResolverDaemon()