summary refs log tree commit diff
path: root/src/middlewares/GlobalRateLimit.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/middlewares/GlobalRateLimit.ts')
-rw-r--r--src/middlewares/GlobalRateLimit.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/middlewares/GlobalRateLimit.ts b/src/middlewares/GlobalRateLimit.ts

index 8fbfbd5c..121616f8 100644 --- a/src/middlewares/GlobalRateLimit.ts +++ b/src/middlewares/GlobalRateLimit.ts
@@ -1,6 +1,6 @@ import { NextFunction, Request, Response } from "express"; import Config from "../util/Config"; -import db from "../util/Database"; +import { db } from "discord-server-util"; export async function GlobalRateLimit(req: Request, res: Response, next: NextFunction) { if (!Config.get().limits.rate.ip.enabled) return next();