Reduce cyclomatic complexity for ChatNotificationService#execute
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
The execute method of the ChatNotificationService has a very high complexity.
One approach to reduce it is to build a wrapper class for the data
payload that could handle all the data[:something]
calls.
Edited by 🤖 GitLab Bot 🤖