diff options
Diffstat (limited to 'server/helpers/requests.ts')
-rw-r--r-- | server/helpers/requests.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/helpers/requests.ts b/server/helpers/requests.ts index 8c5d848f3..af1f401de 100644 --- a/server/helpers/requests.ts +++ b/server/helpers/requests.ts | |||
@@ -13,7 +13,7 @@ import { sign } from './peertube-crypto' | |||
13 | 13 | ||
14 | type MakeRetryRequestParams = { | 14 | type MakeRetryRequestParams = { |
15 | url: string, | 15 | url: string, |
16 | method: 'GET'|'POST', | 16 | method: 'GET' | 'POST', |
17 | json: Object | 17 | json: Object |
18 | } | 18 | } |
19 | function makeRetryRequest (params: MakeRetryRequestParams) { | 19 | function makeRetryRequest (params: MakeRetryRequestParams) { |
@@ -31,7 +31,7 @@ function makeRetryRequest (params: MakeRetryRequestParams) { | |||
31 | } | 31 | } |
32 | 32 | ||
33 | type MakeSecureRequestParams = { | 33 | type MakeSecureRequestParams = { |
34 | method: 'GET'|'POST' | 34 | method: 'GET' | 'POST' |
35 | toPod: PodInstance | 35 | toPod: PodInstance |
36 | path: string | 36 | path: string |
37 | data?: Object | 37 | data?: Object |