aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-07 13:38:26 +0200
committerChocobozzz <me@florianbigard.com>2021-07-20 15:27:17 +0200
commit9fff08cf83f34339df7ed4ac770e1dee536adf9d (patch)
tree36eac5147a12ae257a3e8aaeffae37c9aed23d0a /shared/extra-utils/server
parent87e2635a50ac2decb1c330e55c2ff7b6d07a85de (diff)
downloadPeerTube-9fff08cf83f34339df7ed4ac770e1dee536adf9d.tar.gz
PeerTube-9fff08cf83f34339df7ed4ac770e1dee536adf9d.tar.zst
PeerTube-9fff08cf83f34339df7ed4ac770e1dee536adf9d.zip
Introduce accounts command
Diffstat (limited to 'shared/extra-utils/server')
-rw-r--r--shared/extra-utils/server/servers.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/extra-utils/server/servers.ts b/shared/extra-utils/server/servers.ts
index 8bd4446be..c2cab9818 100644
--- a/shared/extra-utils/server/servers.ts
+++ b/shared/extra-utils/server/servers.ts
@@ -17,6 +17,7 @@ import { OverviewsCommand } from '../overviews'
17import { makeGetRequest } from '../requests/requests' 17import { makeGetRequest } from '../requests/requests'
18import { SearchCommand } from '../search' 18import { SearchCommand } from '../search'
19import { SocketIOCommand } from '../socket' 19import { SocketIOCommand } from '../socket'
20import { AccountsCommand } from '../users'
20import { ConfigCommand } from './config-command' 21import { ConfigCommand } from './config-command'
21import { ContactFormCommand } from './contact-form-command' 22import { ContactFormCommand } from './contact-form-command'
22import { DebugCommand } from './debug-command' 23import { DebugCommand } from './debug-command'
@@ -95,6 +96,7 @@ interface ServerInfo {
95 statsCommand?: StatsCommand 96 statsCommand?: StatsCommand
96 configCommand?: ConfigCommand 97 configCommand?: ConfigCommand
97 socketIOCommand?: SocketIOCommand 98 socketIOCommand?: SocketIOCommand
99 accountsCommand?: AccountsCommand
98} 100}
99 101
100function parallelTests () { 102function parallelTests () {
@@ -317,6 +319,7 @@ async function runServer (server: ServerInfo, configOverrideArg?: any, args = []
317 server.statsCommand = new StatsCommand(server) 319 server.statsCommand = new StatsCommand(server)
318 server.configCommand = new ConfigCommand(server) 320 server.configCommand = new ConfigCommand(server)
319 server.socketIOCommand = new SocketIOCommand(server) 321 server.socketIOCommand = new SocketIOCommand(server)
322 server.accountsCommand = new AccountsCommand(server)
320 323
321 res(server) 324 res(server)
322 }) 325 })