diff options
author | Chocobozzz <me@florianbigard.com> | 2021-06-25 17:39:27 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-06-25 17:39:27 +0200 |
commit | 8cc6120118a9fb75b3165c9f84b2d0068d1ade72 (patch) | |
tree | 3d2f0fc03496de4c5bf80e434bcb4a70d9729549 /server/helpers | |
parent | 262f8ff63109c8a95d9d149c1951cffd4c8301ef (diff) | |
download | PeerTube-8cc6120118a9fb75b3165c9f84b2d0068d1ade72.tar.gz PeerTube-8cc6120118a9fb75b3165c9f84b2d0068d1ade72.tar.zst PeerTube-8cc6120118a9fb75b3165c9f84b2d0068d1ade72.zip |
Upgrade server dependencies
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 | ||