aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/logs/logs-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/logs/logs-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/logs/logs-command.ts')
-rw-r--r--shared/extra-utils/logs/logs-command.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/extra-utils/logs/logs-command.ts b/shared/extra-utils/logs/logs-command.ts
index f7594734d..f34c58c47 100644
--- a/shared/extra-utils/logs/logs-command.ts
+++ b/shared/extra-utils/logs/logs-command.ts
@@ -17,6 +17,7 @@ export class LogsCommand extends AbstractCommand {
17 17
18 path, 18 path,
19 query: { startDate, endDate, level }, 19 query: { startDate, endDate, level },
20 implicitToken: true,
20 defaultExpectedStatus: HttpStatusCode.OK_200 21 defaultExpectedStatus: HttpStatusCode.OK_200
21 }) 22 })
22 } 23 }
@@ -34,6 +35,7 @@ export class LogsCommand extends AbstractCommand {
34 35
35 path, 36 path,
36 query: { startDate, endDate }, 37 query: { startDate, endDate },
38 implicitToken: true,
37 defaultExpectedStatus: HttpStatusCode.OK_200 39 defaultExpectedStatus: HttpStatusCode.OK_200
38 }) 40 })
39 } 41 }