change ids to body
This commit is contained in:
parent
b336329966
commit
c3e8b6b53b
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ export async function getAllMembers(req: Request, res: Response): Promise<any> {
|
|||
* @returns {Promise<*>}
|
||||
*/
|
||||
export async function getMembersByIds(req: Request, res: Response): Promise<any> {
|
||||
let ids = ((req.query.ids ?? "") as string).split(",").filter((i) => i);
|
||||
let ids = req.body.ids as Array<string>;
|
||||
|
||||
let [members, total] = await MemberService.getAll({ noLimit: true, ids });
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue