mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Upgrade server dependencies
This commit is contained in:
parent
262f8ff631
commit
8cc6120118
12 changed files with 152 additions and 147 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue