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/feeds/feeds-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/feeds/feeds-command.ts')
-rw-r--r-- | shared/extra-utils/feeds/feeds-command.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/extra-utils/feeds/feeds-command.ts b/shared/extra-utils/feeds/feeds-command.ts index 8031adf92..2da4110a7 100644 --- a/shared/extra-utils/feeds/feeds-command.ts +++ b/shared/extra-utils/feeds/feeds-command.ts | |||
@@ -19,6 +19,7 @@ export class FeedCommand extends AbstractCommand { | |||
19 | path, | 19 | path, |
20 | query: format ? { format } : undefined, | 20 | query: format ? { format } : undefined, |
21 | accept: 'application/xml', | 21 | accept: 'application/xml', |
22 | implicitToken: false, | ||
22 | defaultExpectedStatus: HttpStatusCode.OK_200 | 23 | defaultExpectedStatus: HttpStatusCode.OK_200 |
23 | }) | 24 | }) |
24 | } | 25 | } |
@@ -36,6 +37,7 @@ export class FeedCommand extends AbstractCommand { | |||
36 | path, | 37 | path, |
37 | query, | 38 | query, |
38 | accept: 'application/json', | 39 | accept: 'application/json', |
40 | implicitToken: false, | ||
39 | defaultExpectedStatus: HttpStatusCode.OK_200 | 41 | defaultExpectedStatus: HttpStatusCode.OK_200 |
40 | }) | 42 | }) |
41 | } | 43 | } |