server/core/controllers/api/videos/upload.ts
Function addVideo
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async function addVideo (options: {
req: express.Request
res: express.Response
videoPhysicalFile: express.VideoLegacyUploadFile
videoInfo: VideoCreate