aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-11-22 22:41:50 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-11-22 22:41:50 +0100
commita078c1556fa81e14f4e0b2239c5000c02ac0717f (patch)
tree1051de61acc0ba07919b24695cb9f6ab44229f00
parent8f21730250f7c4acc6f64f693ef7748c7f354831 (diff)
downloadPeerTube-a078c1556fa81e14f4e0b2239c5000c02ac0717f.tar.gz
PeerTube-a078c1556fa81e14f4e0b2239c5000c02ac0717f.tar.zst
PeerTube-a078c1556fa81e14f4e0b2239c5000c02ac0717f.zip
Server: fix logs when adding a remote video
-rw-r--r--server/controllers/api/remote.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/remote.js b/server/controllers/api/remote.js
index 3e2aa6375..2d0db51c0 100644
--- a/server/controllers/api/remote.js
+++ b/server/controllers/api/remote.js
@@ -53,7 +53,7 @@ function remoteVideos (req, res, next) {
53} 53}
54 54
55function addRemoteVideo (videoToCreateData, callback) { 55function addRemoteVideo (videoToCreateData, callback) {
56 logger.debug('Adding remote video %s.', videoToCreateData.magnetUri) 56 logger.debug('Adding remote video "%s".', videoToCreateData.name)
57 57
58 const video = new Video(videoToCreateData) 58 const video = new Video(videoToCreateData)
59 Video.generateThumbnailFromBase64(video, videoToCreateData.thumbnailBase64, function (err) { 59 Video.generateThumbnailFromBase64(video, videoToCreateData.thumbnailBase64, function (err) {