summary refs log tree commit diff
path: root/src/middlewares/GlobalRateLimit.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-10 14:16:30 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-10 14:16:30 +0100
commita283d70b83200f1cc112cb3058843dd5829ae5dc (patch)
treea06a91813e409ce350ec1706eca61524296284ea /src/middlewares/GlobalRateLimit.ts
parent:bug: update package import to fosscord-server-util (diff)
downloadserver-a283d70b83200f1cc112cb3058843dd5829ae5dc.tar.xz
update imports for fosscord-server-util
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 121616f8..3d2d9d1b 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 "discord-server-util"; +import { db } from "fosscord-server-util"; export async function GlobalRateLimit(req: Request, res: Response, next: NextFunction) { if (!Config.get().limits.rate.ip.enabled) return next();