aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/users/accounts-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/users/accounts-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/users/accounts-command.ts')
-rw-r--r--shared/extra-utils/users/accounts-command.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/extra-utils/users/accounts-command.ts b/shared/extra-utils/users/accounts-command.ts
index 89c080e93..4cd1d2158 100644
--- a/shared/extra-utils/users/accounts-command.ts
+++ b/shared/extra-utils/users/accounts-command.ts
@@ -17,6 +17,7 @@ export class AccountsCommand extends AbstractCommand {
17 17
18 path, 18 path,
19 query: { sort }, 19 query: { sort },
20 implicitToken: false,
20 defaultExpectedStatus: HttpStatusCode.OK_200 21 defaultExpectedStatus: HttpStatusCode.OK_200
21 }) 22 })
22 } 23 }
@@ -30,6 +31,7 @@ export class AccountsCommand extends AbstractCommand {
30 ...options, 31 ...options,
31 32
32 path, 33 path,
34 implicitToken: false,
33 defaultExpectedStatus: HttpStatusCode.OK_200 35 defaultExpectedStatus: HttpStatusCode.OK_200
34 }) 36 })
35 } 37 }
@@ -48,6 +50,7 @@ export class AccountsCommand extends AbstractCommand {
48 50
49 path, 51 path,
50 query, 52 query,
53 implicitToken: true,
51 defaultExpectedStatus: HttpStatusCode.OK_200 54 defaultExpectedStatus: HttpStatusCode.OK_200
52 }) 55 })
53 } 56 }