aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils
diff options
context:
space:
mode:
Diffstat (limited to 'shared/extra-utils')
-rw-r--r--shared/extra-utils/videos/video-playlists.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/shared/extra-utils/videos/video-playlists.ts b/shared/extra-utils/videos/video-playlists.ts
index cbb073fbc..6762c5973 100644
--- a/shared/extra-utils/videos/video-playlists.ts
+++ b/shared/extra-utils/videos/video-playlists.ts
@@ -45,13 +45,14 @@ function getVideoChannelPlaylistsList (url: string, videoChannelName: string, st
45 }) 45 })
46} 46}
47 47
48function getAccountPlaylistsList (url: string, accountName: string, start: number, count: number, sort?: string) { 48function getAccountPlaylistsList (url: string, accountName: string, start: number, count: number, sort?: string, search?: string) {
49 const path = '/api/v1/accounts/' + accountName + '/video-playlists' 49 const path = '/api/v1/accounts/' + accountName + '/video-playlists'
50 50
51 const query = { 51 const query = {
52 start, 52 start,
53 count, 53 count,
54 sort 54 sort,
55 search
55 } 56 }
56 57
57 return makeGetRequest({ 58 return makeGetRequest({