diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-08 13:56:04 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:18 +0200 |
commit | 72cbfc5695ec5ebdb9721d3648218f63feeaeac5 (patch) | |
tree | 945fd16dc2b19537ecbfd0e3b654c9a375993563 /shared/extra-utils/server | |
parent | 44364d06d7434e7e01c5bb383a27e6c3bd8a0f13 (diff) | |
download | PeerTube-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.ts | 4 |
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' | |||
18 | import { SearchCommand } from '../search' | 18 | import { SearchCommand } from '../search' |
19 | import { SocketIOCommand } from '../socket' | 19 | import { SocketIOCommand } from '../socket' |
20 | import { AccountsCommand, BlocklistCommand, SubscriptionsCommand } from '../users' | 20 | import { AccountsCommand, BlocklistCommand, SubscriptionsCommand } from '../users' |
21 | import { LiveCommand, ServicesCommand, BlacklistCommand, CaptionsCommand } from '../videos' | 21 | import { BlacklistCommand, CaptionsCommand, ChangeOwnershipCommand, LiveCommand, ServicesCommand } from '../videos' |
22 | import { ConfigCommand } from './config-command' | 22 | import { ConfigCommand } from './config-command' |
23 | import { ContactFormCommand } from './contact-form-command' | 23 | import { ContactFormCommand } from './contact-form-command' |
24 | import { DebugCommand } from './debug-command' | 24 | import { 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 | ||
109 | function parallelTests () { | 110 | function 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 | }) |