summary refs log tree commit diff
path: root/src/Server.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-07-15 19:23:13 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-07-15 19:23:13 +0200
commit6835a24d2e8994aff4421e89b3b37c4a4985bd36 (patch)
treefc61a069970fa8265a6faab18fa2934ba5ed74cb /src/Server.ts
parent:arrow_up: update @fosscord/server-util (diff)
downloadserver-6835a24d2e8994aff4421e89b3b37c4a4985bd36.tar.xz
:truck: rename listen() -> start() for a consistent naming schema
Diffstat (limited to 'src/Server.ts')
-rw-r--r--src/Server.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Server.ts b/src/Server.ts

index f59ac7f1..a88214ef 100644 --- a/src/Server.ts +++ b/src/Server.ts
@@ -28,7 +28,7 @@ export class Server { await Promise.all([db.collection("events").createIndex({ created_at: 1 }, { expireAfterSeconds: 60 })]); } - async listen(): Promise<void> { + async start(): Promise<void> { // @ts-ignore await (db as Promise<Connection>); await this.setupSchema();