(event: string, properties: any)
| 13 | import { prisma } from "../prisma"; |
| 14 | |
| 15 | async 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 | |
| 25 | export function configRoutes(fastify: FastifyInstance) { |
| 26 | // Check auth method |