aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/requests.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-10-31 16:31:24 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-10-31 16:31:24 +0100
commit53abc4c272be9ecc951274458d054dbaf86e594d (patch)
tree5d69eca59cf3b51c95ecad190f8cdb058ab9e3f7 /server/helpers/requests.ts
parent604e02abcba0a50be23f243db30eca94b68cd35f (diff)
downloadPeerTube-53abc4c272be9ecc951274458d054dbaf86e594d.tar.gz
PeerTube-53abc4c272be9ecc951274458d054dbaf86e594d.tar.zst
PeerTube-53abc4c272be9ecc951274458d054dbaf86e594d.zip
Upgrade server packages
Diffstat (limited to 'server/helpers/requests.ts')
-rw-r--r--server/helpers/requests.ts4
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
14type MakeRetryRequestParams = { 14type MakeRetryRequestParams = {
15 url: string, 15 url: string,
16 method: 'GET'|'POST', 16 method: 'GET' | 'POST',
17 json: Object 17 json: Object
18} 18}
19function makeRetryRequest (params: MakeRetryRequestParams) { 19function makeRetryRequest (params: MakeRetryRequestParams) {
@@ -31,7 +31,7 @@ function makeRetryRequest (params: MakeRetryRequestParams) {
31} 31}
32 32
33type MakeSecureRequestParams = { 33type 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