From ba2684ceddf9b76312635b9cddc6bf6975ce436a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 13 Jul 2022 11:58:01 +0200 Subject: Fix lint --- server/models/video/video-playlist.ts | 2 +- server/models/video/video.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'server/models/video') diff --git a/server/models/video/video-playlist.ts b/server/models/video/video-playlist.ts index 00cca0549..81ce3dc9e 100644 --- a/server/models/video/video-playlist.ts +++ b/server/models/video/video-playlist.ts @@ -423,7 +423,7 @@ export class VideoPlaylistModel extends Model ({ total: count, data: rows })) } - static searchForApi (options: Pick & { + static searchForApi (options: Pick & { start: number count: number sort: string diff --git a/server/models/video/video.ts b/server/models/video/video.ts index cdc1137be..53328d311 100644 --- a/server/models/video/video.ts +++ b/server/models/video/video.ts @@ -949,7 +949,7 @@ export class VideoModel extends Model>> { const total = totalVideos + totalVideoShares return { data: rows, - total: total + total } }) } -- cgit v1.2.3