MCPcopy
hub / github.com/Peppermint-Lab/peppermint / tracking

Function tracking

apps/api/src/controllers/config.ts:15–23  ·  view source on GitHub ↗
(event: string, properties: any)

Source from the content-addressed store, hash-verified

13import { prisma } from "../prisma";
14
15async function tracking(event: string, properties: any) {
16 const client = track();
17
18 client.capture({
19 event: event,
20 properties: properties,
21 distinctId: "uuid",
22 });
23}
24
25export function configRoutes(fastify: FastifyInstance) {
26 // Check auth method

Callers 1

configRoutesFunction · 0.70

Calls 1

trackFunction · 0.90

Tested by

no test coverage detected