codeuino / social-platform-donut-backend

Donut API:
http://donut-api-prod.codeuino.org/
GNU General Public License v3.0
24 stars 57 forks source link

--Solved: Following same account multiple times is allowed #205

Closed kaustubhai closed 3 years ago

kaustubhai commented 3 years ago

Problem

Github Issue Number: #204 Following the same account multiple times was allowed by same account.

Solution of problem

If the user is already following that account and attempts to follow that account again, it will give an error

Type of Change

[x] Bug fix [ ] New Feature [ ] Development of UI/UX prototypes [x] Small refactor [ ] Change in Documentation

Checklist

[x] My code follows the same style as the codebase [ ] My Code change requires a change in documentation [ ] I have updated the Readme accordingly [x] I made PR against development branch [x] I have run the test cases locally and it's passing.