1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 19:42:24 +02:00

Fix thread replies API response

This commit is contained in:
Chocobozzz 2021-02-19 10:52:31 +01:00
parent 285981f4dd
commit 2a021e6cb6
No known key found for this signature in database
GPG key ID: 583A612D890159BE
2 changed files with 17 additions and 13 deletions

View file

@ -166,8 +166,6 @@ async function listVideoThreadComments (req: express.Request, res: express.Respo
}
}
logger.info('coucou', { resultList })
if (resultList.data.length === 0) {
return res.sendStatus(HttpStatusCode.NOT_FOUND_404)
}