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

Commit 74ffbb1

Browse files
Alan Shawhugomrdias
Alan Shaw
andauthored
fix: option name
Co-Authored-By: Hugo Dias <hugomrdias@gmail.com>
1 parent e091b91 commit 74ffbb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/block/put.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = configure(({ ky }) => {
2424

2525
const searchParams = new URLSearchParams(options.searchParams)
2626
if (options.format) searchParams.set('format', options.format)
27-
if (options.format) searchParams.set('mhtype', options.mhtype)
27+
if (options.mhtype) searchParams.set('mhtype', options.mhtype)
2828
if (options.mhlen) searchParams.set('mhlen', options.mhlen)
2929
if (options.pin != null) searchParams.set('pin', options.pin)
3030
if (options.version != null) searchParams.set('version', options.version)

0 commit comments

Comments
 (0)