From 906f46d0849fac3e2b30b7bdd57759e189d6a35d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 19 Oct 2021 15:02:43 +0200 Subject: Split check user params tests --- server/controllers/api/accounts.ts | 2 +- server/controllers/api/video-channel.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'server/controllers/api') 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 count: req.query.count, sort: req.query.sort, search: req.query.search, - state: 'accepted', + state: 'accepted' }) 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 count: req.query.count, sort: req.query.sort, search: req.query.search, - state: 'accepted', + state: 'accepted' }) return res.json(getFormattedObjects(resultList.data, resultList.total)) -- cgit v1.2.3