mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Remove unused timeout option
This commit is contained in:
parent
02b286f890
commit
ddd677e4fd
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user