summary refs log tree commit diff
path: root/src/gateway/Server.ts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/gateway/Server.ts18
1 files changed, 2 insertions, 16 deletions
diff --git a/src/gateway/Server.ts b/src/gateway/Server.ts

index 9fba2d4c..5921e9b5 100644 --- a/src/gateway/Server.ts +++ b/src/gateway/Server.ts
@@ -19,13 +19,7 @@ import "missing-native-js-functions"; import dotenv from "dotenv"; dotenv.config(); -import { - closeDatabase, - Config, - initDatabase, - initEvent, - Sentry, -} from "@spacebar/util"; +import { closeDatabase, Config, initDatabase, initEvent, Sentry } from "@spacebar/util"; import ws from "ws"; import { Connection } from "./events/Connection"; import http from "http"; @@ -36,15 +30,7 @@ export class Server { public server: http.Server; public production: boolean; - constructor({ - port, - server, - production, - }: { - port: number; - server?: http.Server; - production?: boolean; - }) { + constructor({ port, server, production }: { port: number; server?: http.Server; production?: boolean }) { this.port = port; this.production = production || false;