MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / getEngagement

Function getEngagement

apps/api/src/controllers/insights.controller.ts:440–446  ·  view source on GitHub ↗
(
  req: FastifyRequest<{ Params: { projectId?: string } }>,
  reply: FastifyReply
)

Source from the content-addressed store, hash-verified

438}
439
440export async function getEngagement(
441 req: FastifyRequest<{ Params: { projectId?: string } }>,
442 reply: FastifyReply
443) {
444 const projectId = await getProjectId(req as RequestWithProjectParam);
445 return reply.send(await getEngagementCore(projectId));
446}
447
448// ---------------------------------------------------------------------------
449// Events

Callers

nothing calls this directly

Calls 3

getEngagementCoreFunction · 0.90
getProjectIdFunction · 0.70
sendMethod · 0.45

Tested by

no test coverage detected