From 2a10aab3d7634a252a2acc946974df903e6025be Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 14 Mar 2019 09:19:03 +0100 Subject: Add playlist updatedAt tests --- shared/utils/videos/video-playlists.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'shared/utils/videos/video-playlists.ts') diff --git a/shared/utils/videos/video-playlists.ts b/shared/utils/videos/video-playlists.ts index ad65bec56..7568852dc 100644 --- a/shared/utils/videos/video-playlists.ts +++ b/shared/utils/videos/video-playlists.ts @@ -68,14 +68,16 @@ function getAccountPlaylistsListWithToken ( accountName: string, start: number, count: number, - playlistType?: VideoPlaylistType + playlistType?: VideoPlaylistType, + sort?: string ) { const path = '/api/v1/accounts/' + accountName + '/video-playlists' const query = { start, count, - playlistType + playlistType, + sort } return makeGetRequest({ -- cgit v1.2.3