Skip to content

Commit fd8f7de

Browse files
committed
Deployment Fixes
1 parent 145d7b9 commit fd8f7de

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/react/comments/dashboard/self-hosting/dashboard-mongo-db-demo/components/velt/VeltInitializeUser.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export function useVeltAuthProvider() {
3939
// [Velt Self-Host] Save user to database for self-hosted user PII
4040
useEffect(() => {
4141
if (user) {
42-
saveCurrentUserToDB(user);
42+
saveCurrentUserToDB({ ...user });
4343
}
4444
}, [user]);
4545

‎apps/react/comments/dashboard/self-hosting/dashboard-postgres-demo/components/velt/VeltInitializeUser.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export function useVeltAuthProvider() {
3838
// [Velt Self-Host] Save user to database for self-hosted user PII
3939
useEffect(() => {
4040
if (user) {
41-
saveCurrentUserToDB(user);
41+
saveCurrentUserToDB({ ...user });
4242
}
4343
}, [user]);
4444

0 commit comments

Comments
 (0)