You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The chatsAPI.update function in src/api/chats.js exceeds the allowed Cognitive Complexity threshold. The current Cognitive Complexity is 16, while the allowed limit is 15. This makes the code harder to read, maintain, and extend.
To refactor the chatsAPI.update function to reduce its Cognitive Complexity to meet the allowed threshold, without altering its functionality.
The text was updated successfully, but these errors were encountered:
The chatsAPI.update function in src/api/chats.js exceeds the allowed Cognitive Complexity threshold. The current Cognitive Complexity is 16, while the allowed limit is 15. This makes the code harder to read, maintain, and extend.
To refactor the chatsAPI.update function to reduce its Cognitive Complexity to meet the allowed threshold, without altering its functionality.
The text was updated successfully, but these errors were encountered: