aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/api')
-rw-r--r--server/controllers/api/accounts.ts2
-rw-r--r--server/controllers/api/video-channel.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/controllers/api/accounts.ts b/server/controllers/api/accounts.ts
index 77edfa7c2..8eb880d59 100644
--- a/server/controllers/api/accounts.ts
+++ b/server/controllers/api/accounts.ts
@@ -221,7 +221,7 @@ async function listAccountFollowers (req: express.Request, res: express.Response
221 count: req.query.count, 221 count: req.query.count,
222 sort: req.query.sort, 222 sort: req.query.sort,
223 search: req.query.search, 223 search: req.query.search,
224 state: 'accepted', 224 state: 'accepted'
225 }) 225 })
226 226
227 return res.json(getFormattedObjects(resultList.data, resultList.total)) 227 return res.json(getFormattedObjects(resultList.data, resultList.total))
diff --git a/server/controllers/api/video-channel.ts b/server/controllers/api/video-channel.ts
index f370c7004..7bf7a68c9 100644
--- a/server/controllers/api/video-channel.ts
+++ b/server/controllers/api/video-channel.ts
@@ -362,7 +362,7 @@ async function listVideoChannelFollowers (req: express.Request, res: express.Res
362 count: req.query.count, 362 count: req.query.count,
363 sort: req.query.sort, 363 sort: req.query.sort,
364 search: req.query.search, 364 search: req.query.search,
365 state: 'accepted', 365 state: 'accepted'
366 }) 366 })
367 367
368 return res.json(getFormattedObjects(resultList.data, resultList.total)) 368 return res.json(getFormattedObjects(resultList.data, resultList.total))