aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/helpers/requests.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/server/helpers/requests.ts b/server/helpers/requests.ts
index e09e23086..535478017 100644
--- a/server/helpers/requests.ts
+++ b/server/helpers/requests.ts
@@ -26,7 +26,6 @@ type PeerTubeRequestOptions = {
26 key: string 26 key: string
27 headers: string[] 27 headers: string[]
28 } 28 }
29 timeout?: number
30 jsonResponse?: boolean 29 jsonResponse?: boolean
31} & Pick<GotOptions, 'headers' | 'json' | 'method' | 'searchParams'> 30} & Pick<GotOptions, 'headers' | 'json' | 'method' | 'searchParams'>
32 31
@@ -216,7 +215,6 @@ function buildGotOptions (options: PeerTubeRequestOptions) {
216 dnsCache: true, 215 dnsCache: true,
217 json: options.json, 216 json: options.json,
218 searchParams: options.searchParams, 217 searchParams: options.searchParams,
219 timeout: options.timeout ?? REQUEST_TIMEOUT,
220 headers, 218 headers,
221 context 219 context
222 } 220 }