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/server/debug-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/server/debug-command.ts')
-rw-r--r-- | shared/extra-utils/server/debug-command.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/extra-utils/server/debug-command.ts b/shared/extra-utils/server/debug-command.ts index eecbb1711..8b24b3067 100644 --- a/shared/extra-utils/server/debug-command.ts +++ b/shared/extra-utils/server/debug-command.ts | |||
@@ -11,6 +11,7 @@ export class DebugCommand extends AbstractCommand { | |||
11 | ...options, | 11 | ...options, |
12 | 12 | ||
13 | path, | 13 | path, |
14 | implicitToken: true, | ||
14 | defaultExpectedStatus: HttpStatusCode.OK_200 | 15 | defaultExpectedStatus: HttpStatusCode.OK_200 |
15 | }) | 16 | }) |
16 | } | 17 | } |
@@ -26,6 +27,7 @@ export class DebugCommand extends AbstractCommand { | |||
26 | 27 | ||
27 | path, | 28 | path, |
28 | fields: body, | 29 | fields: body, |
30 | implicitToken: true, | ||
29 | defaultExpectedStatus: HttpStatusCode.NO_CONTENT_204 | 31 | defaultExpectedStatus: HttpStatusCode.NO_CONTENT_204 |
30 | }) | 32 | }) |
31 | } | 33 | } |