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

Commit

Permalink
fix: expose preload argument (#1129)
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain authored Oct 17, 2019
1 parent a5aa139 commit c82b031
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/add/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ module.exports = configure(({ ky }) => {
if (options.silent) searchParams.set('silent', options.silent)
if (options.trickle != null) searchParams.set('trickle', options.trickle)
if (options.wrapWithDirectory != null) searchParams.set('wrap-with-directory', options.wrapWithDirectory)
if (options.preload !== null) searchParams.set('preload', options.preload)

const res = await ky.post('add', {
timeout: options.timeout,
Expand Down

0 comments on commit c82b031

Please sign in to comment.