aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
authorWicklow <wicklow@framasoft.org>2023-02-23 15:39:09 +0100
committerChocobozzz <chocobozzz@cpy.re>2023-02-23 16:07:44 +0100
commit16ccb43767c45e74877ab7beaa4adb61a404c128 (patch)
treed61704e49131c6233cbc550b71f27212c1516db4 /server/controllers
parent918ba713e4e8014d7b995e61df0ecada934c6361 (diff)
downloadPeerTube-16ccb43767c45e74877ab7beaa4adb61a404c128.tar.gz
PeerTube-16ccb43767c45e74877ab7beaa4adb61a404c128.tar.zst
PeerTube-16ccb43767c45e74877ab7beaa4adb61a404c128.zip
Fix filters on playlists
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/api/video-playlist.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/video-playlist.ts b/server/controllers/api/video-playlist.ts
index bcb60e265..08b0f971d 100644
--- a/server/controllers/api/video-playlist.ts
+++ b/server/controllers/api/video-playlist.ts
@@ -139,7 +139,7 @@ async function listVideoPlaylists (req: express.Request, res: express.Response)
139 start: req.query.start, 139 start: req.query.start,
140 count: req.query.count, 140 count: req.query.count,
141 sort: req.query.sort, 141 sort: req.query.sort,
142 type: req.query.type 142 type: req.query.playlistType
143 }) 143 })
144 144
145 return res.json(getFormattedObjects(resultList.data, resultList.total)) 145 return res.json(getFormattedObjects(resultList.data, resultList.total))