diff --git a/lib/util/got/host-rules.js b/lib/util/got/host-rules.js index 9aef144cab1b01191261382c66d288701edd7687..7fb990085ca2664f38262220c4cd56ab41669b66 100644 --- a/lib/util/got/host-rules.js +++ b/lib/util/got/host-rules.js @@ -25,7 +25,7 @@ module.exports = got.create({ opts.token = token; } if (timeout) { - opts.timeout = timeout; + opts.gotTimeout = { request: timeout }; } return next(opts); },