aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-06-25 17:39:27 +0200
committerChocobozzz <me@florianbigard.com>2021-06-25 17:39:27 +0200
commit8cc6120118a9fb75b3165c9f84b2d0068d1ade72 (patch)
tree3d2f0fc03496de4c5bf80e434bcb4a70d9729549 /server
parent262f8ff63109c8a95d9d149c1951cffd4c8301ef (diff)
downloadPeerTube-8cc6120118a9fb75b3165c9f84b2d0068d1ade72.tar.gz
PeerTube-8cc6120118a9fb75b3165c9f84b2d0068d1ade72.tar.zst
PeerTube-8cc6120118a9fb75b3165c9f84b2d0068d1ade72.zip
Upgrade server dependencies
Diffstat (limited to 'server')
-rw-r--r--server/helpers/express-utils.ts4
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
33function cleanUpReqFiles ( 33function 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