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:33:44 +0200
committerxnacly <matteogropp@protonmail.com>2021-09-03 21:33:44 +0200
commit4a63e1560c07c938ec74f14e5076ec4e69de7ce6 (patch)
tree1ae493c750b6d0056e3ad0fa5ed2eedc568b8ed9 /api/src/middlewares/RateLimit.ts
parentreplace '@me' with req.user_id in guild join (diff)
downloadserver-4a63e1560c07c938ec74f14e5076ec4e69de7ce6.tar.xz
added big todo list to Guild.ts (big chungus)
Diffstat (limited to 'api/src/middlewares/RateLimit.ts')
-rw-r--r--api/src/middlewares/RateLimit.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/src/middlewares/RateLimit.ts b/api/src/middlewares/RateLimit.ts

index dffbc0d9..a15ccbe6 100644 --- a/api/src/middlewares/RateLimit.ts +++ b/api/src/middlewares/RateLimit.ts
@@ -107,6 +107,7 @@ 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);