diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-01-12 13:08:47 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-01-12 13:08:47 +0100 |
commit | 91cc839af88730ba55f84997c56b85ea100070a7 (patch) | |
tree | 2c9f5917370c3674e268234e76082f90c9244088 /server/models/video.js | |
parent | 790e65fcf7a0a9f065ecc68c5982efb80cd2e1ca (diff) | |
download | PeerTube-91cc839af88730ba55f84997c56b85ea100070a7.tar.gz PeerTube-91cc839af88730ba55f84997c56b85ea100070a7.tar.zst PeerTube-91cc839af88730ba55f84997c56b85ea100070a7.zip |
Server: fix single pod tests
Diffstat (limited to 'server/models/video.js')
-rw-r--r-- | server/models/video.js | 2 |
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 | } |