Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

📈 Remove duplicate capture

Luke Vella380fd0e54597
diff --git a/apps/web/src/auth/adapters/prisma.ts b/apps/web/src/auth/adapters/prisma.ts
index 72797b4a0..d810a7807 100644
--- a/apps/web/src/auth/adapters/prisma.ts
+++ b/apps/web/src/auth/adapters/prisma.ts
@@ -12,7 +12,6 @@
import { PrismaAdapter } from "@auth/prisma-adapter";
import { prisma } from "@rallly/database";
-import { posthog } from "@rallly/posthog/server";
import type { Adapter } from "next-auth/adapters";
import { createUser } from "@/features/user/mutations";
@@ -51,19 +50,6 @@ export function CustomPrismaAdapter(options: {
locale: user.locale ?? undefined,
});
- posthog?.capture({
- distinctId: newUser.id,
- event: "register",
- properties: {
- method: "sso",
- $set: {
- email: user.email,
- name: user.name,
- tier: "hobby",
- },
- },
- });
-
return newUser;
},
} as Adapter;