diff options
Diffstat (limited to 'shared/extra-utils/videos')
-rw-r--r-- | shared/extra-utils/videos/live-command.ts | 3 | ||||
-rw-r--r-- | shared/extra-utils/videos/services-command.ts | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/shared/extra-utils/videos/live-command.ts b/shared/extra-utils/videos/live-command.ts index e36c632ee..4f03c9127 100644 --- a/shared/extra-utils/videos/live-command.ts +++ b/shared/extra-utils/videos/live-command.ts | |||
@@ -23,6 +23,7 @@ export class LiveCommand extends AbstractCommand { | |||
23 | ...options, | 23 | ...options, |
24 | 24 | ||
25 | path: path + '/' + options.videoId, | 25 | path: path + '/' + options.videoId, |
26 | implicitToken: true, | ||
26 | defaultExpectedStatus: HttpStatusCode.OK_200 | 27 | defaultExpectedStatus: HttpStatusCode.OK_200 |
27 | }) | 28 | }) |
28 | } | 29 | } |
@@ -39,6 +40,7 @@ export class LiveCommand extends AbstractCommand { | |||
39 | 40 | ||
40 | path: path + '/' + videoId, | 41 | path: path + '/' + videoId, |
41 | fields, | 42 | fields, |
43 | implicitToken: true, | ||
42 | defaultExpectedStatus: HttpStatusCode.NO_CONTENT_204 | 44 | defaultExpectedStatus: HttpStatusCode.NO_CONTENT_204 |
43 | }) | 45 | }) |
44 | } | 46 | } |
@@ -59,6 +61,7 @@ export class LiveCommand extends AbstractCommand { | |||
59 | path, | 61 | path, |
60 | attaches, | 62 | attaches, |
61 | fields: omit(fields, 'thumbnailfile', 'previewfile'), | 63 | fields: omit(fields, 'thumbnailfile', 'previewfile'), |
64 | implicitToken: true, | ||
62 | defaultExpectedStatus: HttpStatusCode.OK_200 | 65 | defaultExpectedStatus: HttpStatusCode.OK_200 |
63 | })) | 66 | })) |
64 | 67 | ||
diff --git a/shared/extra-utils/videos/services-command.ts b/shared/extra-utils/videos/services-command.ts index 3b618ef66..313b7878c 100644 --- a/shared/extra-utils/videos/services-command.ts +++ b/shared/extra-utils/videos/services-command.ts | |||
@@ -22,6 +22,7 @@ export class ServicesCommand extends AbstractCommand { | |||
22 | 22 | ||
23 | path, | 23 | path, |
24 | query, | 24 | query, |
25 | implicitToken: false, | ||
25 | defaultExpectedStatus: HttpStatusCode.OK_200 | 26 | defaultExpectedStatus: HttpStatusCode.OK_200 |
26 | }) | 27 | }) |
27 | } | 28 | } |