diff --git a/server/controllers/api/v1/pods.js b/server/controllers/api/v1/pods.js index e216714d6..ecaeba666 100644 --- a/server/controllers/api/v1/pods.js +++ b/server/controllers/api/v1/pods.js @@ -117,7 +117,7 @@ function removePods (req, res, next) { videos.removeRemoteVideos(videosList, function (err) { if (err) { logger.error('Cannot remove remote videos.', { error: err }) - callback(err) + return callback(err) } return callback(null)