Skip to content

Refactor "User#unfollow into a service

What does this MR do and why?

This merge request introduces a new service, Users::UnfollowService, to handle the unfollowing of users. It refactors the unfollow logic from the UserController and the User model into this new service. The service ensures that the unfollow action is performed correctly and provides error handling.

Related to #429450 (closed)

Merge request reports