diff options
Diffstat (limited to 'server/helpers')
-rw-r--r-- | server/helpers/express-utils.ts | 4 |
1 files changed, 1 insertions, 3 deletions
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) { | |||
30 | return null | 30 | return null |
31 | } | 31 | } |
32 | 32 | ||
33 | function cleanUpReqFiles ( | 33 | function cleanUpReqFiles (req: express.Request) { |
34 | req: { files: { [fieldname: string]: Express.Multer.File[] } | Express.Multer.File[] } | ||
35 | ) { | ||
36 | const filesObject = req.files | 34 | const filesObject = req.files |
37 | if (!filesObject) return | 35 | if (!filesObject) return |
38 | 36 | ||