summary refs log tree commit diff
path: root/api/src/Server.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-05 19:37:54 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-05 19:37:54 +0200
commitb76961657ed3b599707088f60d0762234fe34e1a (patch)
treedba44f343592acb0051417bdffbfb0962e3297fb /api/src/Server.ts
parent:bug: fix client locale (diff)
downloadserver-b76961657ed3b599707088f60d0762234fe34e1a.tar.xz
:art: reformatted
Diffstat (limited to '')
-rw-r--r--api/src/Server.ts2
1 files changed, 2 insertions, 0 deletions
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