patches v1.1.1 #46

Merged
jkeffects merged 2 commits from develop into main 2025-01-20 11:48:30 +00:00
Showing only changes of commit 0bbe22e9ae - Show all commits

View file

@ -62,7 +62,10 @@ export async function getAllMembers(req: Request, res: Response): Promise<any> {
let count = parseInt((req.query.count as string) ?? "25");
let search = (req.query.search as string) ?? "";
let noLimit = req.query.noLimit === "true";
let ids = (req.query.ids as string).split(",").map((i) => parseInt(i));
let ids = ((req.query.ids ?? "") as string)
.split(",")
.filter((i) => i)
.map((i) => parseInt(i));
let [members, total] = await MemberService.getAll({ offset, count, search, noLimit, ids });