aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-08-12 11:05:11 +0200
committerChocobozzz <me@florianbigard.com>2022-08-16 10:33:27 +0200
commit0e6cd1c00f71554fe7375a96db693a6983951ba6 (patch)
treebe9b049e047895c88c561202377f6c5e64ae40df /server/controllers/api
parent045224d5eb6a41081186c4040bab1570b9d9ad65 (diff)
downloadPeerTube-0e6cd1c00f71554fe7375a96db693a6983951ba6.tar.gz
PeerTube-0e6cd1c00f71554fe7375a96db693a6983951ba6.tar.zst
PeerTube-0e6cd1c00f71554fe7375a96db693a6983951ba6.zip
Add ability to list comments on local videos
Diffstat (limited to 'server/controllers/api')
-rw-r--r--server/controllers/api/videos/comment.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/controllers/api/videos/comment.ts b/server/controllers/api/videos/comment.ts
index 47fa2f2e2..44d64776c 100644
--- a/server/controllers/api/videos/comment.ts
+++ b/server/controllers/api/videos/comment.ts
@@ -91,6 +91,7 @@ async function listComments (req: express.Request, res: express.Response) {
91 sort: req.query.sort, 91 sort: req.query.sort,
92 92
93 isLocal: req.query.isLocal, 93 isLocal: req.query.isLocal,
94 onLocalVideo: req.query.onLocalVideo,
94 search: req.query.search, 95 search: req.query.search,
95 searchAccount: req.query.searchAccount, 96 searchAccount: req.query.searchAccount,
96 searchVideo: req.query.searchVideo 97 searchVideo: req.query.searchVideo