aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/videos.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-12-30 11:27:42 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-12-30 11:27:42 +0100
commit3d118fb501f576a298f6bb059167e4c7f4dd8dcc (patch)
treef2c8e74e1ca9a9d39b86412a6444a95343d2833e /server/controllers/api/videos.js
parent7b1f49de22c40ae121ddb3c399b2540ba56fd414 (diff)
downloadPeerTube-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.js2
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 },