aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video/video.ts
diff options
context:
space:
mode:
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,