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 update method in CategoryController to streamline category updates
This commit simplifies the update method in the CategoryController by removing unnecessary validation and restructuring the image upload process. It ensures that category names and gender associations are updated correctly while improving the handling of profile images. The method now returns the request data instead of a success message, enhancing the response format for API consumers.
0 commit comments