Skip to content

Commit 5eacda0

Browse files
Use sessionId for Sentry user id
1 parent 40cd7b0 commit 5eacda0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/sentry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export function identify(userId: string) {
77
if (isCloud)
88
sessionId ??= `${userId}-${Date.now()}`;
99
Sentry.setUser({
10-
id: userId
10+
id: sessionId
1111
});
1212
}
1313

0 commit comments

Comments
 (0)