From 6835a24d2e8994aff4421e89b3b37c4a4985bd36 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Thu, 15 Jul 2021 19:23:13 +0200 Subject: :truck: rename listen() -> start() for a consistent naming schema --- src/Server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Server.ts') 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 { + async start(): Promise { // @ts-ignore await (db as Promise); await this.setupSchema(); -- cgit 1.5.1