aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-06-12 21:31:58 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-06-12 21:37:56 +0200
commitc3d19a49070aedb0e9accedf46465196b677406e (patch)
tree5e8512df3a9debfe2b4119249e249c815a74c1ca /server/controllers
parent75d612ce3ca9d6f69fe8e4e83dc3070d9ab56615 (diff)
downloadPeerTube-c3d19a49070aedb0e9accedf46465196b677406e.tar.gz
PeerTube-c3d19a49070aedb0e9accedf46465196b677406e.tar.zst
PeerTube-c3d19a49070aedb0e9accedf46465196b677406e.zip
Fix video update test
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/api/videos/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/videos/index.ts b/server/controllers/api/videos/index.ts
index 3b2ac4a6c..5e8cf2d25 100644
--- a/server/controllers/api/videos/index.ts
+++ b/server/controllers/api/videos/index.ts
@@ -356,7 +356,7 @@ function updateVideo (req: express.Request, res: express.Response, finalCallback
356 return rollbackTransaction(err, t, finalCallback) 356 return rollbackTransaction(err, t, finalCallback)
357 } 357 }
358 358
359 logger.info('Video with name %s updated.', videoInfosToUpdate.name) 359 logger.info('Video with name %s updated.', videoInstance.name)
360 return finalCallback(null) 360 return finalCallback(null)
361 }) 361 })
362} 362}