aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-08 13:56:04 +0200
committerChocobozzz <me@florianbigard.com>2021-07-20 15:27:18 +0200
commit72cbfc5695ec5ebdb9721d3648218f63feeaeac5 (patch)
tree945fd16dc2b19537ecbfd0e3b654c9a375993563 /shared/extra-utils/server
parent44364d06d7434e7e01c5bb383a27e6c3bd8a0f13 (diff)
downloadPeerTube-72cbfc5695ec5ebdb9721d3648218f63feeaeac5.tar.gz
PeerTube-72cbfc5695ec5ebdb9721d3648218f63feeaeac5.tar.zst
PeerTube-72cbfc5695ec5ebdb9721d3648218f63feeaeac5.zip
Introduce change ownership command
Diffstat (limited to 'shared/extra-utils/server')
-rw-r--r--shared/extra-utils/server/servers.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/shared/extra-utils/server/servers.ts b/shared/extra-utils/server/servers.ts
index 170360341..33f558414 100644
--- a/shared/extra-utils/server/servers.ts
+++ b/shared/extra-utils/server/servers.ts
@@ -18,7 +18,7 @@ import { makeGetRequest } from '../requests/requests'
18import { SearchCommand } from '../search' 18import { SearchCommand } from '../search'
19import { SocketIOCommand } from '../socket' 19import { SocketIOCommand } from '../socket'
20import { AccountsCommand, BlocklistCommand, SubscriptionsCommand } from '../users' 20import { AccountsCommand, BlocklistCommand, SubscriptionsCommand } from '../users'
21import { LiveCommand, ServicesCommand, BlacklistCommand, CaptionsCommand } from '../videos' 21import { BlacklistCommand, CaptionsCommand, ChangeOwnershipCommand, LiveCommand, ServicesCommand } from '../videos'
22import { ConfigCommand } from './config-command' 22import { ConfigCommand } from './config-command'
23import { ContactFormCommand } from './contact-form-command' 23import { ContactFormCommand } from './contact-form-command'
24import { DebugCommand } from './debug-command' 24import { DebugCommand } from './debug-command'
@@ -104,6 +104,7 @@ interface ServerInfo {
104 servicesCommand?: ServicesCommand 104 servicesCommand?: ServicesCommand
105 blacklistCommand?: BlacklistCommand 105 blacklistCommand?: BlacklistCommand
106 captionsCommand?: CaptionsCommand 106 captionsCommand?: CaptionsCommand
107 changeOwnershipCommand?: ChangeOwnershipCommand
107} 108}
108 109
109function parallelTests () { 110function parallelTests () {
@@ -333,6 +334,7 @@ async function runServer (server: ServerInfo, configOverrideArg?: any, args = []
333 server.servicesCommand = new ServicesCommand(server) 334 server.servicesCommand = new ServicesCommand(server)
334 server.blacklistCommand = new BlacklistCommand(server) 335 server.blacklistCommand = new BlacklistCommand(server)
335 server.captionsCommand = new CaptionsCommand(server) 336 server.captionsCommand = new CaptionsCommand(server)
337 server.changeOwnershipCommand = new ChangeOwnershipCommand(server)
336 338
337 res(server) 339 res(server)
338 }) 340 })