bounswe / bounswe2024group11

The proof of work and the product from the 2024G11
https://bounswe.github.io/bounswe2024group11/
11 stars 1 forks source link

fix(backend): Add check for deleting posts, update is working fine with PATCH. #381

Closed ozankrkya closed 3 months ago

ozankrkya commented 4 months ago

Update method is tested with PATCH HTTP method. DELETE is working fine, extra check for post's author when deleting is added to the PostViewSet.

Meminseeker commented 3 months ago

I've tried all the endpoints; they are working. Only the unfollow endpoint is not working yet since @MucahitErdoganUnlu is merged an uncompleted version of it to the develop-backend2 branch.

It is ready to merge with the develop-backend2 branch, I think.