diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-08 10:55:16 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:17 +0200 |
commit | a1637fa1e25b60a88f7cfe50aac8953f50d55761 (patch) | |
tree | 4d0cc82eef618619a7bcb747812cc7b21e0d8776 /shared/extra-utils/videos/live-command.ts | |
parent | 04aed76711909507e74905bde3a7fa024d3585c9 (diff) | |
download | PeerTube-a1637fa1e25b60a88f7cfe50aac8953f50d55761.tar.gz PeerTube-a1637fa1e25b60a88f7cfe50aac8953f50d55761.tar.zst PeerTube-a1637fa1e25b60a88f7cfe50aac8953f50d55761.zip |
Specify if we want to fallback to the server token
Diffstat (limited to 'shared/extra-utils/videos/live-command.ts')
-rw-r--r-- | shared/extra-utils/videos/live-command.ts | 3 |
1 files changed, 3 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 | ||