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/logs/logs-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/logs/logs-command.ts')
-rw-r--r-- | shared/extra-utils/logs/logs-command.ts | 2 |
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 | } |