aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/feeds/feeds-command.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-08 10:55:16 +0200
committerChocobozzz <me@florianbigard.com>2021-07-20 15:27:17 +0200
commita1637fa1e25b60a88f7cfe50aac8953f50d55761 (patch)
tree4d0cc82eef618619a7bcb747812cc7b21e0d8776 /shared/extra-utils/feeds/feeds-command.ts
parent04aed76711909507e74905bde3a7fa024d3585c9 (diff)
downloadPeerTube-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.ts2
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 }