aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-01-12 13:08:47 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-01-12 13:08:47 +0100
commit91cc839af88730ba55f84997c56b85ea100070a7 (patch)
tree2c9f5917370c3674e268234e76082f90c9244088 /server/models
parent790e65fcf7a0a9f065ecc68c5982efb80cd2e1ca (diff)
downloadPeerTube-91cc839af88730ba55f84997c56b85ea100070a7.tar.gz
PeerTube-91cc839af88730ba55f84997c56b85ea100070a7.tar.zst
PeerTube-91cc839af88730ba55f84997c56b85ea100070a7.zip
Server: fix single pod tests
Diffstat (limited to 'server/models')
-rw-r--r--server/models/video.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/video.js b/server/models/video.js
index ceed976b0..17eff6428 100644
--- a/server/models/video.js
+++ b/server/models/video.js
@@ -335,7 +335,7 @@ function toFormatedJSON () {
335 author: this.Author.name, 335 author: this.Author.name,
336 duration: this.duration, 336 duration: this.duration,
337 tags: map(this.Tags, 'name'), 337 tags: map(this.Tags, 'name'),
338 thumbnailPath: constants.STATIC_PATHS.THUMBNAILS + '/' + this.getThumbnailName(), 338 thumbnailPath: pathUtils.join(constants.STATIC_PATHS.THUMBNAILS, this.getThumbnailName()),
339 createdAt: this.createdAt, 339 createdAt: this.createdAt,
340 updatedAt: this.updatedAt 340 updatedAt: this.updatedAt
341 } 341 }