summary refs log tree commit diff
path: root/api/src/middlewares/RateLimit.ts
diff options
context:
space:
mode:
authorxnacly <matteogropp@protonmail.com>2021-09-03 21:36:19 +0200
committerxnacly <matteogropp@protonmail.com>2021-09-03 21:36:19 +0200
commit3aaf4c8a57f339aa705ead786c4fd17cb845f42e (patch)
tree2f08cd5ddd84e2529d1a66a2859619663b2b46f7 /api/src/middlewares/RateLimit.ts
parentadded big todo list to Guild.ts (big chungus) (diff)
downloadserver-3aaf4c8a57f339aa705ead786c4fd17cb845f42e.tar.xz
Revert "added big todo list to Guild.ts (big chungus)"
This reverts commit 4a63e1560c07c938ec74f14e5076ec4e69de7ce6.
Diffstat (limited to 'api/src/middlewares/RateLimit.ts')
-rw-r--r--api/src/middlewares/RateLimit.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/api/src/middlewares/RateLimit.ts b/api/src/middlewares/RateLimit.ts
index a15ccbe6..dffbc0d9 100644
--- a/api/src/middlewares/RateLimit.ts
+++ b/api/src/middlewares/RateLimit.ts
@@ -107,7 +107,6 @@ export default function rateLimit(opts: {
 }
 
 export async function initRateLimits(app: Router) {
-	return;
 	const { routes, global, ip, error } = Config.get().limits.rate;
 	await listenEvent(EventRateLimit, (event) => {
 		Cache.set(event.channel_id as string, event.data);