mirror of
https://github.com/formbricks/formbricks.git
synced 2026-04-26 15:39:00 -05:00
fix: error hashing ownerId in posthog capture method
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ export const capturePosthogEvent = async (
|
||||
api_key: serverRuntimeConfig.posthogApiKey,
|
||||
event: eventName,
|
||||
properties: {
|
||||
distinct_id: hashString(userId),
|
||||
distinct_id: hashString(userId.toString()),
|
||||
...properties,
|
||||
},
|
||||
timestamp: new Date().toISOString(),
|
||||
|
||||
Reference in New Issue
Block a user