diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-09 14:15:11 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:18 +0200 |
commit | 12edc1495a36b2199f1bf1ba37f50c7b694be382 (patch) | |
tree | 3abfe2e5b54076de73fbfa25386d0313fc3b7242 /shared/extra-utils/server/servers.ts | |
parent | a54618880c394ad7571f3f3222dc96ec2dd10d9a (diff) | |
download | PeerTube-12edc1495a36b2199f1bf1ba37f50c7b694be382.tar.gz PeerTube-12edc1495a36b2199f1bf1ba37f50c7b694be382.tar.zst PeerTube-12edc1495a36b2199f1bf1ba37f50c7b694be382.zip |
Introduce comments command
Diffstat (limited to 'shared/extra-utils/server/servers.ts')
-rw-r--r-- | shared/extra-utils/server/servers.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/extra-utils/server/servers.ts b/shared/extra-utils/server/servers.ts index 68e10af5f..8e80a9842 100644 --- a/shared/extra-utils/server/servers.ts +++ b/shared/extra-utils/server/servers.ts | |||
@@ -30,6 +30,7 @@ import { | |||
30 | ServicesCommand, | 30 | ServicesCommand, |
31 | StreamingPlaylistsCommand | 31 | StreamingPlaylistsCommand |
32 | } from '../videos' | 32 | } from '../videos' |
33 | import { CommentsCommand } from '../videos/comments-command' | ||
33 | import { ConfigCommand } from './config-command' | 34 | import { ConfigCommand } from './config-command' |
34 | import { ContactFormCommand } from './contact-form-command' | 35 | import { ContactFormCommand } from './contact-form-command' |
35 | import { DebugCommand } from './debug-command' | 36 | import { DebugCommand } from './debug-command' |
@@ -121,6 +122,7 @@ interface ServerInfo { | |||
121 | importsCommand?: ImportsCommand | 122 | importsCommand?: ImportsCommand |
122 | streamingPlaylistsCommand?: StreamingPlaylistsCommand | 123 | streamingPlaylistsCommand?: StreamingPlaylistsCommand |
123 | channelsCommand?: ChannelsCommand | 124 | channelsCommand?: ChannelsCommand |
125 | commentsCommand?: CommentsCommand | ||
124 | } | 126 | } |
125 | 127 | ||
126 | function parallelTests () { | 128 | function parallelTests () { |
@@ -356,6 +358,7 @@ async function runServer (server: ServerInfo, configOverrideArg?: any, args = [] | |||
356 | server.importsCommand = new ImportsCommand(server) | 358 | server.importsCommand = new ImportsCommand(server) |
357 | server.streamingPlaylistsCommand = new StreamingPlaylistsCommand(server) | 359 | server.streamingPlaylistsCommand = new StreamingPlaylistsCommand(server) |
358 | server.channelsCommand = new ChannelsCommand(server) | 360 | server.channelsCommand = new ChannelsCommand(server) |
361 | server.commentsCommand = new CommentsCommand(server) | ||
359 | 362 | ||
360 | res(server) | 363 | res(server) |
361 | }) | 364 | }) |