diff options
Diffstat (limited to 'server/controllers')
-rw-r--r-- | server/controllers/api/video-playlist.ts | 2 |
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)) |