Skip to content

Commit

Permalink
Merge pull request #57 from andela/bug-fix-fix-repliy-detail-serializer
Browse files Browse the repository at this point in the history
bug fix: apply correct serializer to replies view
  • Loading branch information
karuhanga committed Mar 21, 2019
2 parents 3e8d1eb + ea2eff0 commit 68c23fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion authors/apps/comments/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ class CommentReplyDetailApiView(GenericAPIView):
deletion of a single reply.
"""
permission_classes = (permissions.IsAuthenticatedOrReadOnly,)
serializer_class = CommentSerializer
serializer_class = CommentReplySerializer
renderer_classes = (JSONRenderer,)

def get_required_objects(self, request, pk):
Expand Down

0 comments on commit 68c23fc

Please sign in to comment.