diff --git a/apps/web/pages/api/v1/environments/[environmentId]/posthog/import/index.ts b/apps/web/pages/api/v1/environments/[environmentId]/posthog/import/index.ts index 1cffd0e21a..3d43064781 100644 --- a/apps/web/pages/api/v1/environments/[environmentId]/posthog/import/index.ts +++ b/apps/web/pages/api/v1/environments/[environmentId]/posthog/import/index.ts @@ -24,6 +24,8 @@ export default async function handle(req: NextApiRequest, res: NextApiResponse) // lastSyncedAt is the last time the environment was synced (iso string) const { users }: { users: FormbricksUser[] } = req.body; + console.log(users); + for (const user of users) { // check if user with this userId as attribute already exists const existingUser = await prisma.person.findFirst({