diff options
Diffstat (limited to 'server/controllers/api')
-rw-r--r-- | server/controllers/api/v1/pods.js | 2 |
1 files changed, 1 insertions, 1 deletions
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) { | |||
117 | videos.removeRemoteVideos(videosList, function (err) { | 117 | videos.removeRemoteVideos(videosList, function (err) { |
118 | if (err) { | 118 | if (err) { |
119 | logger.error('Cannot remove remote videos.', { error: err }) | 119 | logger.error('Cannot remove remote videos.', { error: err }) |
120 | callback(err) | 120 | return callback(err) |
121 | } | 121 | } |
122 | 122 | ||
123 | return callback(null) | 123 | return callback(null) |