diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-06 15:53:25 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:17 +0200 |
commit | a9c58393d36d221197b48884a1960e6126ab31d7 (patch) | |
tree | b504eeefd6449d26122a7ee69affa24d242c70da /shared/extra-utils/server/servers.ts | |
parent | 2d1ad5b96063d1e430ca99128a15e2e56cb614e0 (diff) | |
download | PeerTube-a9c58393d36d221197b48884a1960e6126ab31d7.tar.gz PeerTube-a9c58393d36d221197b48884a1960e6126ab31d7.tar.zst PeerTube-a9c58393d36d221197b48884a1960e6126ab31d7.zip |
Introduce contact form 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 8ccf790fc..b58639ba6 100644 --- a/shared/extra-utils/server/servers.ts +++ b/shared/extra-utils/server/servers.ts | |||
@@ -16,6 +16,7 @@ import { AbusesCommand } from '../moderation' | |||
16 | import { OverviewsCommand } from '../overviews' | 16 | import { OverviewsCommand } from '../overviews' |
17 | import { makeGetRequest } from '../requests/requests' | 17 | import { makeGetRequest } from '../requests/requests' |
18 | import { SearchCommand } from '../search' | 18 | import { SearchCommand } from '../search' |
19 | import { ContactFormCommand } from './contact-form-command' | ||
19 | 20 | ||
20 | interface ServerInfo { | 21 | interface ServerInfo { |
21 | app: ChildProcess | 22 | app: ChildProcess |
@@ -77,6 +78,7 @@ interface ServerInfo { | |||
77 | abusesCommand?: AbusesCommand | 78 | abusesCommand?: AbusesCommand |
78 | overviewsCommand?: OverviewsCommand | 79 | overviewsCommand?: OverviewsCommand |
79 | searchCommand?: SearchCommand | 80 | searchCommand?: SearchCommand |
81 | contactFormCommand?: ContactFormCommand | ||
80 | } | 82 | } |
81 | 83 | ||
82 | function parallelTests () { | 84 | function parallelTests () { |
@@ -290,6 +292,7 @@ async function runServer (server: ServerInfo, configOverrideArg?: any, args = [] | |||
290 | server.abusesCommand = new AbusesCommand(server) | 292 | server.abusesCommand = new AbusesCommand(server) |
291 | server.overviewsCommand = new OverviewsCommand(server) | 293 | server.overviewsCommand = new OverviewsCommand(server) |
292 | server.searchCommand = new SearchCommand(server) | 294 | server.searchCommand = new SearchCommand(server) |
295 | server.contactFormCommand = new ContactFormCommand(server) | ||
293 | 296 | ||
294 | res(server) | 297 | res(server) |
295 | }) | 298 | }) |