diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-11-22 22:41:50 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-11-22 22:41:50 +0100 |
commit | a078c1556fa81e14f4e0b2239c5000c02ac0717f (patch) | |
tree | 1051de61acc0ba07919b24695cb9f6ab44229f00 /server/controllers/api/remote.js | |
parent | 8f21730250f7c4acc6f64f693ef7748c7f354831 (diff) | |
download | PeerTube-a078c1556fa81e14f4e0b2239c5000c02ac0717f.tar.gz PeerTube-a078c1556fa81e14f4e0b2239c5000c02ac0717f.tar.zst PeerTube-a078c1556fa81e14f4e0b2239c5000c02ac0717f.zip |
Server: fix logs when adding a remote video
Diffstat (limited to 'server/controllers/api/remote.js')
-rw-r--r-- | server/controllers/api/remote.js | 2 |
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 | ||
55 | function addRemoteVideo (videoToCreateData, callback) { | 55 | function 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) { |