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-08-16 15:06:31 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-16 15:06:31 +0200
commit4b02fe3b33eada4b4df785fc5e2a6e2afd982085 (patch)
tree4337a85007b74e53a57bb0593eaaaefe5bda74ca /api/src/Server.ts
parent:bug: fix release caxa (diff)
downloadserver-4b02fe3b33eada4b4df785fc5e2a6e2afd982085.tar.xz
update Rate Limit with new event transmission
Diffstat (limited to 'api/src/Server.ts')
-rw-r--r--api/src/Server.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/Server.ts b/api/src/Server.ts
index 332c28de..ef72df5f 100644
--- a/api/src/Server.ts
+++ b/api/src/Server.ts
@@ -64,7 +64,7 @@ export class FosscordServer extends Server {
 		this.app = api;
 
 		api.use(Authentication);
-		initRateLimits(api);
+		await initRateLimits(api);
 		await initTranslation(api);
 
 		this.routes = await this.registerRoutes(path.join(__dirname, "routes", "/"));