- Enhanced the getSocketUserId function to extract user IDs from JWT tokens, improving user identification in socket connections.
- Added error handling for token parsing to ensure robustness against malformed tokens.
This update enhances the socket service's ability to manage user-specific connections by accurately retrieving user IDs from authentication tokens.