fix(host-rules): massage timeout properly

This commit is contained in:
Rhys Arkins 2019-05-25 19:57:25 +02:00
parent 06cb50cf10
commit 11c77d07f6

View file

@ -25,7 +25,7 @@ module.exports = got.create({
opts.token = token; opts.token = token;
} }
if (timeout) { if (timeout) {
opts.timeout = timeout; opts.gotTimeout = { request: timeout };
} }
return next(opts); return next(opts);
}, },