From 8cc6120118a9fb75b3165c9f84b2d0068d1ade72 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 25 Jun 2021 17:39:27 +0200 Subject: Upgrade server dependencies --- server/helpers/express-utils.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'server/helpers') diff --git a/server/helpers/express-utils.ts b/server/helpers/express-utils.ts index 003e02818..0ff113274 100644 --- a/server/helpers/express-utils.ts +++ b/server/helpers/express-utils.ts @@ -30,9 +30,7 @@ function buildNSFWFilter (res?: express.Response, paramNSFW?: string) { return null } -function cleanUpReqFiles ( - req: { files: { [fieldname: string]: Express.Multer.File[] } | Express.Multer.File[] } -) { +function cleanUpReqFiles (req: express.Request) { const filesObject = req.files if (!filesObject) return -- cgit v1.2.3