Skip to content

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

🐛 Use snake case for posthog properties

Luke Vella546e77ffb001
diff --git a/apps/web/src/features/space/analytics.ts b/apps/web/src/features/space/analytics.ts
index ad5ffd337..41c0c39ad 100644
--- a/apps/web/src/features/space/analytics.ts
+++ b/apps/web/src/features/space/analytics.ts
@@ -1,5 +1,5 @@
import { posthog } from "@rallly/posthog/server";
-import { toCamelCaseKeys } from "es-toolkit";
+import { toSnakeCaseKeys } from "es-toolkit";
import type { SpaceTier } from "@/features/space/schema";
export function updateSpaceGroup({
@@ -19,7 +19,7 @@ export function updateSpaceGroup({
posthog?.groupIdentify({
groupType: "space",
groupKey: spaceId,
- properties: toCamelCaseKeys(properties),
+ properties: toSnakeCaseKeys(properties),
});
}