From 72299d722b779c3f46f9f149e3fa1464ee61dd74 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Tue, 5 Oct 2021 19:37:54 +0200 Subject: :art: reformatted --- api/src/Server.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'api/src/Server.ts') diff --git a/api/src/Server.ts b/api/src/Server.ts index a16a61f8..12c1d6b4 100644 --- a/api/src/Server.ts +++ b/api/src/Server.ts @@ -13,6 +13,7 @@ import { initRateLimits } from "./middlewares/RateLimit"; import TestClient from "./middlewares/TestClient"; import { initTranslation } from "./middlewares/Translation"; import morgan from "morgan"; +import { initInstance } from "./util/Instance"; export interface FosscordServerOptions extends ServerOptions {} @@ -37,6 +38,7 @@ export class FosscordServer extends Server { await initDatabase(); await Config.init(); await initEvent(); + await initInstance(); /* DOCUMENTATION: uses LOG_REQUESTS environment variable -- cgit 1.4.1