Skip to content

Conversation

atyrode
Copy link
Contributor

@atyrode atyrode commented May 3, 2025

  • Implemented a new API endpoint /online for admin users to fetch all online users and their details based on active sessions stored in Redis.
  • Enhanced session handling by decoding JWT tokens to extract user IDs and retrieve corresponding user data from the database.
  • Added error handling for session processing to ensure robustness in user data retrieval.

- Implemented a new API endpoint `/online` for admin users to fetch all online users and their details based on active sessions stored in Redis.
- Enhanced session handling by decoding JWT tokens to extract user IDs and retrieve corresponding user data from the database.
- Added error handling for session processing to ensure robustness in user data retrieval.
@atyrode atyrode merged commit 07cdbd2 into main May 3, 2025
1 check passed
@atyrode atyrode deleted the online-users-endpoint branch May 3, 2025 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant