Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Commit

Permalink
fix: option name
Browse files Browse the repository at this point in the history
Co-Authored-By: Hugo Dias <hugomrdias@gmail.com>
  • Loading branch information
alanshaw and hugomrdias committed Nov 12, 2019
1 parent e091b91 commit 74ffbb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/block/put.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = configure(({ ky }) => {

const searchParams = new URLSearchParams(options.searchParams)
if (options.format) searchParams.set('format', options.format)
if (options.format) searchParams.set('mhtype', options.mhtype)
if (options.mhtype) searchParams.set('mhtype', options.mhtype)
if (options.mhlen) searchParams.set('mhlen', options.mhlen)
if (options.pin != null) searchParams.set('pin', options.pin)
if (options.version != null) searchParams.set('version', options.version)
Expand Down

0 comments on commit 74ffbb1

Please sign in to comment.