Showing 3,313 of 3,313 total issues
Avoid too many return
statements within this function. Open
Open
return res.fail({
status: HttpStatusCode.CONFLICT_409,
message: 'This video is already duplicated by your instance.'
})
Avoid too many return
statements within this function. Open
Open
return next()
Avoid too many return
statements within this function. Open
Open
return res.fail({ message: 'Invalid video or playlist id.' })
Avoid too many return
statements within this function. Open
Open
return res.fail({
status: HttpStatusCode.FORBIDDEN_403,
message: 'Video is not publicly available'
})
Avoid too many return
statements within this function. Open
Open
return res.fail({
status: HttpStatusCode.FORBIDDEN_403,
message: 'Playlist is not public'
})
Avoid too many return
statements within this function. Open
Open
return res.fail({
status: HttpStatusCode.CONFLICT_409,
message: `Channel with name ${body.channel.name} already exists.`
})
Avoid too many return
statements within this function. Open
Open
return next()
Avoid too many return
statements within this function. Open
Open
return next()
Avoid too many return
statements within this function. Open
Open
return next()
Avoid too many return
statements within this function. Open
Open
if (!checkUserExportRight(userExport, res)) return
Avoid too many return
statements within this function. Open
Open
return next()
Avoid too many return
statements within this function. Open
Open
return next()
Avoid too many return
statements within this function. Open
Open
return next()
Avoid too many return
statements within this function. Open
Open
return next()
Avoid too many return
statements within this function. Open
Open
return next()
Avoid too many return
statements within this function. Open
Open
return next()
Avoid too many return
statements within this function. Open
Open
return res.fail({
message: 'An import is already being processed',
status: HttpStatusCode.BAD_REQUEST_400
})
Avoid too many return
statements within this function. Open
Open
if (!checkInvalidVideoStudioConfig(req.body, res)) return
Avoid too many return
statements within this function. Open
Open
return fail()
Avoid too many return
statements within this function. Open
Open
return next()