(event: string, properties: any)
| 48 | } |
| 49 | |
| 50 | async function tracking(event: string, properties: any) { |
| 51 | const client = track(); |
| 52 | |
| 53 | client.capture({ |
| 54 | event: event, |
| 55 | properties: properties, |
| 56 | distinctId: "uuid", |
| 57 | }); |
| 58 | } |
| 59 | |
| 60 | export function authRoutes(fastify: FastifyInstance) { |
| 61 | // Register a new user |