Commit cf394ed257cc64bd50e5858c6fb7f47adfc3d277

Authored by Rohan Rangray
1 parent e826fcdba5
Exists in master

Changed /study/{pk} verb from PUT to PATCH.

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

flashcards/views.py View file @ cf394ed
... ... @@ -358,7 +358,7 @@
358 358 user_flashcard_quiz.save()
359 359 return Response(QuizResponseSerializer(instance=user_flashcard_quiz, mask=mask).data, status=HTTP_200_OK)
360 360  
361   - def update(self, request, *args, **kwargs):
  361 + def partial_update(self, request, *args, **kwargs):
362 362 """
363 363 Receive the user's response to the quiz.
364 364 :param request: A request object.