(
req: FastifyRequest<{ Params: { projectId?: string; groupId: string }; Querystring: z.infer<typeof zGetGroupQuery> }>,
reply: FastifyReply
)
| 616 | export const zGetGroupQuery = z.object({ memberLimit: z.number().int().min(1).max(50).default(10) }); |
| 617 | |
| 618 | export async function getGroup( |
| 619 | req: FastifyRequest<{ Params: { projectId?: string; groupId: string }; Querystring: z.infer<typeof zGetGroupQuery> }>, |
| 620 | reply: FastifyReply |
| 621 | ) { |
| 622 | const projectId = await getProjectId(req as RequestWithProjectParam); |
| 623 | return reply.send(await getGroupCore({ projectId, groupId: req.params.groupId, memberLimit: req.query.memberLimit })); |
| 624 | } |
| 625 | |
| 626 | // --------------------------------------------------------------------------- |
| 627 | // Dashboards & reports |
nothing calls this directly
no test coverage detected