Skip to content

Commit

Permalink
Solution
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrii Kurta committed Oct 25, 2023
1 parent 02dec4e commit 4fb0e95
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cinema/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ def put(self, request, pk):

return Response(serializer.data, status=status.HTTP_200_OK)


def patch(self, request, pk):
genre = self.get_object(pk)
serializer = GenreSerializer(genre, data=request.data, partial=True)
Expand Down

0 comments on commit 4fb0e95

Please sign in to comment.