Skip to content

Commit

Permalink
fix: only send user id to sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
spaenleh committed Feb 4, 2025
1 parent 164257b commit c053a70
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/AuthContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,7 @@ export function AuthProvider({
}, [currentMember]);

const value = useMemo(() => {
Sentry.setUser(
currentMember ? { id: currentMember.id, name: currentMember.name } : null,
);
Sentry.setUser(currentMember ? { id: currentMember.id } : null);
if (currentMember) {
return {
isAuthenticated: true as const,
Expand Down

0 comments on commit c053a70

Please sign in to comment.