summary refs log tree commit diff
path: root/src/gateway/Server.ts
diff options
context:
space:
mode:
authorEmma [it/its]@Rory& <root@rory.gay>2023-12-11 01:12:54 +0100
committerEmma [it/its]@Rory& <root@rory.gay>2023-12-11 01:12:54 +0100
commit0a8ceb9e6349284e75545a01ffad608b020f78e2 (patch)
tree17a9163f963eddabf9168b0b630096b2f7535b64 /src/gateway/Server.ts
parentPrettier: use editorconfig (diff)
downloadserver-dev/emma-refactors.tar.xz
Actually run prettier dev/emma-refactors
Diffstat (limited to 'src/gateway/Server.ts')
-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;