mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-22 08:46:54 -06:00
Return with callback with an error
This commit is contained in:
parent
13c14a9028
commit
6e56eb63ac
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user