aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-03-14 09:19:03 +0100
committerChocobozzz <chocobozzz@cpy.re>2019-03-18 11:17:59 +0100
commit2a10aab3d7634a252a2acc946974df903e6025be (patch)
tree79d58e426ebf331f1331adab9e4da159ab8f634f /shared
parent76564702b7be1b7bd0481624235960e6ff642078 (diff)
downloadPeerTube-2a10aab3d7634a252a2acc946974df903e6025be.tar.gz
PeerTube-2a10aab3d7634a252a2acc946974df903e6025be.tar.zst
PeerTube-2a10aab3d7634a252a2acc946974df903e6025be.zip
Add playlist updatedAt tests
Diffstat (limited to 'shared')
-rw-r--r--shared/utils/videos/video-playlists.ts6
1 files changed, 4 insertions, 2 deletions
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 (
68 accountName: string, 68 accountName: string,
69 start: number, 69 start: number,
70 count: number, 70 count: number,
71 playlistType?: VideoPlaylistType 71 playlistType?: VideoPlaylistType,
72 sort?: string
72) { 73) {
73 const path = '/api/v1/accounts/' + accountName + '/video-playlists' 74 const path = '/api/v1/accounts/' + accountName + '/video-playlists'
74 75
75 const query = { 76 const query = {
76 start, 77 start,
77 count, 78 count,
78 playlistType 79 playlistType,
80 sort
79 } 81 }
80 82
81 return makeGetRequest({ 83 return makeGetRequest({