(event: string, properties: any)
| 5 | import { prisma } from "../prisma"; |
| 6 | |
| 7 | async function tracking(event: string, properties: any) { |
| 8 | const client = track(); |
| 9 | |
| 10 | client.capture({ |
| 11 | event: event, |
| 12 | properties: properties, |
| 13 | distinctId: "uuid", |
| 14 | }); |
| 15 | |
| 16 | client.shutdownAsync(); |
| 17 | } |
| 18 | |
| 19 | export function notebookRoutes(fastify: FastifyInstance) { |
| 20 | // Create a new entry |
no test coverage detected