2 files changed, 2 insertions, 2 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();
diff --git a/src/start.ts b/src/start.ts
index 22da628f..09a54751 100644
--- a/src/start.ts
+++ b/src/start.ts
@@ -11,4 +11,4 @@ if (isNaN(port)) port = 3002;
const server = new Server({
port,
});
-server.listen();
+server.start();
|