Skip to content

Conversation

@husainiitbhu21
Copy link

Corrected the logic in the follow and unfollow endpoints to reflect the intended follower relationship accurately:

  1. Follow: The current authenticated user now correctly follows another user
  2. Unfollow: The current authenticated user now correctly unfollows another user

(Note: The current implementation in the develop branch incorrectly handles the follow/unfollow logic. Specifically, it reversed the relationship between the follower and the user being followed)

Copy link
Member

@cengique cengique left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as intended and fixes the previous wrong logic.

@cengique cengique merged commit dfd1618 into soft-eng-practicum:develop Mar 30, 2025
1 check passed
cengique pushed a commit that referenced this pull request Mar 30, 2025
Fixed conflicts caused by merging #92.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants