Return with callback with an error

This commit is contained in:
Chocobozzz 2016-05-19 20:28:17 +02:00
parent 13c14a9028
commit 6e56eb63ac
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ function removePods (req, res, next) {
videos.removeRemoteVideos(videosList, function (err) { videos.removeRemoteVideos(videosList, function (err) {
if (err) { if (err) {
logger.error('Cannot remove remote videos.', { error: err }) logger.error('Cannot remove remote videos.', { error: err })
callback(err) return callback(err)
} }
return callback(null) return callback(null)