Verified Commit ddd677e4 authored by Chocobozzz's avatar Chocobozzz
Browse files

Remove unused timeout option

parent 02b286f8
......@@ -26,7 +26,6 @@ type PeerTubeRequestOptions = {
key: string
headers: string[]
}
timeout?: number
jsonResponse?: boolean
} & Pick<GotOptions, 'headers' | 'json' | 'method' | 'searchParams'>
......@@ -216,7 +215,6 @@ function buildGotOptions (options: PeerTubeRequestOptions) {
dnsCache: true,
json: options.json,
searchParams: options.searchParams,
timeout: options.timeout ?? REQUEST_TIMEOUT,
headers,
context
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment