diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-12-30 11:27:42 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-12-30 11:27:42 +0100 |
commit | 3d118fb501f576a298f6bb059167e4c7f4dd8dcc (patch) | |
tree | f2c8e74e1ca9a9d39b86412a6444a95343d2833e /server/controllers/api/videos.js | |
parent | 7b1f49de22c40ae121ddb3c399b2540ba56fd414 (diff) | |
download | PeerTube-3d118fb501f576a298f6bb059167e4c7f4dd8dcc.tar.gz PeerTube-3d118fb501f576a298f6bb059167e4c7f4dd8dcc.tar.zst PeerTube-3d118fb501f576a298f6bb059167e4c7f4dd8dcc.zip |
Server: propagate video update to other pods
Diffstat (limited to 'server/controllers/api/videos.js')
-rw-r--r-- | server/controllers/api/videos.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/server/controllers/api/videos.js b/server/controllers/api/videos.js index 1b306d1cf..e5c52a87b 100644 --- a/server/controllers/api/videos.js +++ b/server/controllers/api/videos.js | |||
@@ -229,8 +229,6 @@ function updateVideo (req, res, next) { | |||
229 | 229 | ||
230 | // Add tags association | 230 | // Add tags association |
231 | videoInstance.save(options).asCallback(function (err) { | 231 | videoInstance.save(options).asCallback(function (err) { |
232 | if (err) return callback(err) | ||
233 | |||
234 | return callback(err, t, tagInstances) | 232 | return callback(err, t, tagInstances) |
235 | }) | 233 | }) |
236 | }, | 234 | }, |