fix: Include timezone in /me endpoint response for persistence
Some checks failed
CI/CD Pipeline / Build Application (push) Has been cancelled
CI/CD Pipeline / Lint and Test (push) Has been cancelled
CI/CD Pipeline / E2E Tests (push) Has been cancelled

The getUserById method (called by /me endpoint) was missing the timezone
field in its response, causing timezone preferences to revert to UTC after
page refresh. This fix ensures the timezone is returned alongside other
user profile data.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-10-03 12:34:47 +00:00
parent 66c8d4c41e
commit 1d0e3466d2

View File

@@ -363,6 +363,7 @@ export class AuthService {
name: user.name,
role: 'user',
locale: user.locale,
timezone: user.timezone,
emailVerified: user.emailVerified,
preferences: user.preferences,
families,