79770717

Date: 2025-09-21 07:30:19
Score: 1
Natty:
Report link

I think the issue might be caused by a mismatch in the userId . To avoid this, try retrieving the user ID using the method below.

 Authentication auth = SecurityContextHolder.getContext().getAuthentication();
 String userId = auth.getName();
 sendNotificationWebSocket(userId,notifica);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ganesh Karunanidhi