aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/v1/videos.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-05-10 22:24:04 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-05-10 22:24:04 +0200
commit36d560246f1d53f1d1c41d789d93349118b3492d (patch)
treefac4a278d00b7f5a4e7dcca1dc445f41fd41da62 /server/controllers/api/v1/videos.js
parent9e5f374090ea0fb16f93edd79d5ad61a55db91e5 (diff)
downloadPeerTube-36d560246f1d53f1d1c41d789d93349118b3492d.tar.gz
PeerTube-36d560246f1d53f1d1c41d789d93349118b3492d.tar.zst
PeerTube-36d560246f1d53f1d1c41d789d93349118b3492d.zip
thumbnail_path -> thumbnailPath
Diffstat (limited to 'server/controllers/api/v1/videos.js')
-rw-r--r--server/controllers/api/v1/videos.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/v1/videos.js b/server/controllers/api/v1/videos.js
index 98f17ac6c..c6ea439f9 100644
--- a/server/controllers/api/v1/videos.js
+++ b/server/controllers/api/v1/videos.js
@@ -182,7 +182,7 @@ function getFormatedVideo (video_obj) {
182 magnetUri: video_obj.magnetUri, 182 magnetUri: video_obj.magnetUri,
183 author: video_obj.author, 183 author: video_obj.author,
184 duration: video_obj.duration, 184 duration: video_obj.duration,
185 thumbnail_path: constants.THUMBNAILS_STATIC_PATH + '/' + video_obj.thumbnail 185 thumbnailPath: constants.THUMBNAILS_STATIC_PATH + '/' + video_obj.thumbnail
186 } 186 }
187 187
188 return formated_video 188 return formated_video