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
refactor(api): improve error handling and type checking in PUT request
- Add try-catch block for more robust error handling when getting ID from request body
- Implement type checking for UserContentPreferences before updating preferences
- Log informative messages for potential errors
- Improve error messages for better clarity and debugging
0 commit comments