aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-11-29 10:55:17 +0100
committerChocobozzz <me@florianbigard.com>2019-11-29 10:55:17 +0100
commit97ecddae104f4013d261f0e9645e8b319ff0f1a6 (patch)
tree74e00ace03bcdfd91684c889b866f30ec2c6d244 /server/controllers
parentf5b72c3937c721258c569ee783503adb379c42ab (diff)
downloadPeerTube-97ecddae104f4013d261f0e9645e8b319ff0f1a6.tar.gz
PeerTube-97ecddae104f4013d261f0e9645e8b319ff0f1a6.tar.zst
PeerTube-97ecddae104f4013d261f0e9645e8b319ff0f1a6.zip
Filter on follows actor types in about page
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/api/server/follows.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/controllers/api/server/follows.ts b/server/controllers/api/server/follows.ts
index e7fd3aabd..29a403a43 100644
--- a/server/controllers/api/server/follows.ts
+++ b/server/controllers/api/server/follows.ts
@@ -101,6 +101,7 @@ async function listFollowing (req: express.Request, res: express.Response) {
101 count: req.query.count, 101 count: req.query.count,
102 sort: req.query.sort, 102 sort: req.query.sort,
103 search: req.query.search, 103 search: req.query.search,
104 actorType: req.query.actorType,
104 state: req.query.state 105 state: req.query.state
105 }) 106 })
106 107
@@ -115,6 +116,7 @@ async function listFollowers (req: express.Request, res: express.Response) {
115 count: req.query.count, 116 count: req.query.count,
116 sort: req.query.sort, 117 sort: req.query.sort,
117 search: req.query.search, 118 search: req.query.search,
119 actorType: req.query.actorType,
118 state: req.query.state 120 state: req.query.state
119 }) 121 })
120 122