diff options
author | Chocobozzz <me@florianbigard.com> | 2021-02-19 10:52:31 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-02-19 10:52:31 +0100 |
commit | 2a021e6cb6836864bb013d5ff451e8a4ae45c9b7 (patch) | |
tree | 26ef1746b01f647223ab17b3a6b1a6a59a1118c1 /server/controllers | |
parent | 285981f4dd1bdeaac32cb3f99be55edac9ef3f78 (diff) | |
download | PeerTube-2a021e6cb6836864bb013d5ff451e8a4ae45c9b7.tar.gz PeerTube-2a021e6cb6836864bb013d5ff451e8a4ae45c9b7.tar.zst PeerTube-2a021e6cb6836864bb013d5ff451e8a4ae45c9b7.zip |
Fix thread replies API response
Diffstat (limited to 'server/controllers')
-rw-r--r-- | server/controllers/api/videos/comment.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/server/controllers/api/videos/comment.ts b/server/controllers/api/videos/comment.ts index b21698525..38fa7c3b0 100644 --- a/server/controllers/api/videos/comment.ts +++ b/server/controllers/api/videos/comment.ts | |||
@@ -166,8 +166,6 @@ async function listVideoThreadComments (req: express.Request, res: express.Respo | |||
166 | } | 166 | } |
167 | } | 167 | } |
168 | 168 | ||
169 | logger.info('coucou', { resultList }) | ||
170 | |||
171 | if (resultList.data.length === 0) { | 169 | if (resultList.data.length === 0) { |
172 | return res.sendStatus(HttpStatusCode.NOT_FOUND_404) | 170 | return res.sendStatus(HttpStatusCode.NOT_FOUND_404) |
173 | } | 171 | } |