mirror of
https://gitlab.com/RemixDev/deemix-gui.git
synced 2025-01-16 03:45:16 +00:00
Fixed ERR_HTTP_HEADERS_SENT when loading charts
This commit is contained in:
parent
310c063055
commit
133c12af04
|
@ -29,8 +29,7 @@ const handler: RequestHandler<{}, {}, {}, RawChartTracksQuery> = async (req, res
|
|||
const limit = req.query.limit
|
||||
|
||||
const response = await dz.api.get_playlist_tracks(playlistId, { index, limit })
|
||||
res.status(200).send(response)
|
||||
next()
|
||||
return res.status(200).send(response)
|
||||
} catch (error) {
|
||||
if (isBadRequestError(error)) {
|
||||
consoleError(error.message)
|
||||
|
|
Loading…
Reference in a new issue