diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-05-13 20:45:53 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-05-13 20:45:53 +0200 |
commit | 57a56079fe927f99592a3defa2ba17586a6fe14c (patch) | |
tree | c35aeca04455578653a9dc276711b54bcc647c72 /server/controllers | |
parent | bb10240ee15d31a1cc17c0e3d748dde817e7d0cb (diff) | |
download | PeerTube-57a56079fe927f99592a3defa2ba17586a6fe14c.tar.gz PeerTube-57a56079fe927f99592a3defa2ba17586a6fe14c.tar.zst PeerTube-57a56079fe927f99592a3defa2ba17586a6fe14c.zip |
getVideoThumbnail -> createVideoThumbnail
Diffstat (limited to 'server/controllers')
-rw-r--r-- | server/controllers/api/v1/videos.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/v1/videos.js b/server/controllers/api/v1/videos.js index 5bdfdbf58..641fef6ea 100644 --- a/server/controllers/api/v1/videos.js +++ b/server/controllers/api/v1/videos.js | |||
@@ -94,7 +94,7 @@ function addVideo (req, res, next) { | |||
94 | return next(err) | 94 | return next(err) |
95 | } | 95 | } |
96 | 96 | ||
97 | videos.getVideoThumbnail(videoFile.path, function (err, thumbnailName) { | 97 | videos.createVideoThumbnail(videoFile.path, function (err, thumbnailName) { |
98 | if (err) { | 98 | if (err) { |
99 | // TODO: unseed the video | 99 | // TODO: unseed the video |
100 | logger.error('Cannot make a thumbnail of the video file.') | 100 | logger.error('Cannot make a thumbnail of the video file.') |