]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/controllers/api/videos/comment.ts
Add ability to list comments on local videos
[github/Chocobozzz/PeerTube.git] / server / controllers / api / videos / comment.ts
index 47fa2f2e20b2d5ec43221b655d624bccae6a6048..44d64776c60a351232c4ea9b3cf547a2f3c28b81 100644 (file)
@@ -91,6 +91,7 @@ async function listComments (req: express.Request, res: express.Response) {
     sort: req.query.sort,
 
     isLocal: req.query.isLocal,
+    onLocalVideo: req.query.onLocalVideo,
     search: req.query.search,
     searchAccount: req.query.searchAccount,
     searchVideo: req.query.searchVideo