Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
fix(ipns): fix allowOffline flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Stebalien committed Dec 5, 2019
1 parent 73f2440 commit 83fcbff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ipns.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 83fcbff

Please sign in to comment.