aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video/video.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-08-25 18:36:49 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-08-25 18:36:49 +0200
commit556ddc319242aafef51bae9301423ecf8701a3af (patch)
tree413829b522193584df348f0356a702b3222c3419 /server/models/video/video.ts
parentd15ab38a905e6b50972e6f884917db9198279daf (diff)
downloadPeerTube-556ddc319242aafef51bae9301423ecf8701a3af.tar.gz
PeerTube-556ddc319242aafef51bae9301423ecf8701a3af.tar.zst
PeerTube-556ddc319242aafef51bae9301423ecf8701a3af.zip
Upgrade common server dependencies
Diffstat (limited to 'server/models/video/video.ts')
-rw-r--r--server/models/video/video.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts
index b3ca1e668..7dfea8ac9 100644
--- a/server/models/video/video.ts
+++ b/server/models/video/video.ts
@@ -643,7 +643,7 @@ list = function () {
643} 643}
644 644
645listForApi = function (start: number, count: number, sort: string) { 645listForApi = function (start: number, count: number, sort: string) {
646 // Exclude Blakclisted videos from the list 646 // Exclude blacklisted videos from the list
647 const query = { 647 const query = {
648 distinct: true, 648 distinct: true,
649 offset: start, 649 offset: start,
@@ -807,7 +807,7 @@ searchAndPopulateAuthorAndPodAndTags = function (value: string, field: string, s
807 model: Video['sequelize'].models.VideoFile 807 model: Video['sequelize'].models.VideoFile
808 } 808 }
809 809
810 const query: Sequelize.FindOptions = { 810 const query: Sequelize.FindOptions<VideoAttributes> = {
811 distinct: true, 811 distinct: true,
812 where: createBaseVideosWhere(), 812 where: createBaseVideosWhere(),
813 offset: start, 813 offset: start,