aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/server/redundancy.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/extra-utils/server/redundancy.ts')
-rw-r--r--shared/extra-utils/server/redundancy.ts18
1 files changed, 9 insertions, 9 deletions
diff --git a/shared/extra-utils/server/redundancy.ts b/shared/extra-utils/server/redundancy.ts
index 7b488e23e..08467e4c0 100644
--- a/shared/extra-utils/server/redundancy.ts
+++ b/shared/extra-utils/server/redundancy.ts
@@ -15,11 +15,11 @@ function updateRedundancy (url: string, accessToken: string, host: string, redun
15 15
16function listVideoRedundancies (options: { 16function listVideoRedundancies (options: {
17 url: string 17 url: string
18 accessToken: string, 18 accessToken: string
19 target: VideoRedundanciesTarget, 19 target: VideoRedundanciesTarget
20 start?: number, 20 start?: number
21 count?: number, 21 count?: number
22 sort?: string, 22 sort?: string
23 statusCodeExpected?: number 23 statusCodeExpected?: number
24}) { 24}) {
25 const path = '/api/v1/server/redundancy/videos' 25 const path = '/api/v1/server/redundancy/videos'
@@ -41,8 +41,8 @@ function listVideoRedundancies (options: {
41} 41}
42 42
43function addVideoRedundancy (options: { 43function addVideoRedundancy (options: {
44 url: string, 44 url: string
45 accessToken: string, 45 accessToken: string
46 videoId: number 46 videoId: number
47}) { 47}) {
48 const path = '/api/v1/server/redundancy/videos' 48 const path = '/api/v1/server/redundancy/videos'
@@ -58,8 +58,8 @@ function addVideoRedundancy (options: {
58} 58}
59 59
60function removeVideoRedundancy (options: { 60function removeVideoRedundancy (options: {
61 url: string, 61 url: string
62 accessToken: string, 62 accessToken: string
63 redundancyId: number 63 redundancyId: number
64}) { 64}) {
65 const { url, accessToken, redundancyId } = options 65 const { url, accessToken, redundancyId } = options