diff options
author | Chocobozzz <me@florianbigard.com> | 2022-07-13 11:58:01 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-07-13 12:14:26 +0200 |
commit | ba2684ceddf9b76312635b9cddc6bf6975ce436a (patch) | |
tree | d7c9618b9a6f632029d809d8bf342adc26c85cc8 /server/models/video | |
parent | e45dd87b93c621c606415f9e8d0d381de6d7a2d7 (diff) | |
download | PeerTube-ba2684ceddf9b76312635b9cddc6bf6975ce436a.tar.gz PeerTube-ba2684ceddf9b76312635b9cddc6bf6975ce436a.tar.zst PeerTube-ba2684ceddf9b76312635b9cddc6bf6975ce436a.zip |
Fix lint
Diffstat (limited to 'server/models/video')
-rw-r--r-- | server/models/video/video-playlist.ts | 2 | ||||
-rw-r--r-- | server/models/video/video.ts | 2 |
2 files changed, 2 insertions, 2 deletions
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<Partial<AttributesOnly<VideoPlayli | |||
423 | ]).then(([ count, rows ]) => ({ total: count, data: rows })) | 423 | ]).then(([ count, rows ]) => ({ total: count, data: rows })) |
424 | } | 424 | } |
425 | 425 | ||
426 | static searchForApi (options: Pick<AvailableForListOptions, 'followerActorId' | 'search'| 'host'| 'uuids'> & { | 426 | static searchForApi (options: Pick<AvailableForListOptions, 'followerActorId' | 'search' | 'host' | 'uuids'> & { |
427 | start: number | 427 | start: number |
428 | count: number | 428 | count: number |
429 | sort: string | 429 | 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<Partial<AttributesOnly<VideoModel>>> { | |||
949 | const total = totalVideos + totalVideoShares | 949 | const total = totalVideos + totalVideoShares |
950 | return { | 950 | return { |
951 | data: rows, | 951 | data: rows, |
952 | total: total | 952 | total |
953 | } | 953 | } |
954 | }) | 954 | }) |
955 | } | 955 | } |