mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-11 16:54:49 +00:00
Remove import to class-validator, fix listening on port message in bundle
This commit is contained in:
@@ -110,6 +110,7 @@ async function main() {
|
||||
app.use(Sentry.Handlers.tracingHandler());
|
||||
}
|
||||
|
||||
server.listen(port);
|
||||
await Promise.all([api.start(), cdn.start(), gateway.start()]);
|
||||
|
||||
if (Config.get().sentry.enabled) {
|
||||
|
||||
@@ -25,7 +25,6 @@ import { Sticker } from "./Sticker";
|
||||
import { Attachment } from "./Attachment";
|
||||
import { BannedWords } from "../util";
|
||||
import { HTTPError } from "lambert-server";
|
||||
import { ValidatorConstraint } from "class-validator";
|
||||
|
||||
export enum MessageType {
|
||||
DEFAULT = 0,
|
||||
|
||||
Reference in New Issue
Block a user