Skip to content

Commit

Permalink
Add docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
hnryjmes committed Feb 13, 2024
1 parent 700a08c commit a6a44a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/cases/views/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,9 @@ def get(self, request, pk, ecju_pk):
return JsonResponse(data={"ecju_query": serializer.data}, status=status.HTTP_200_OK)

def put(self, request, pk, ecju_pk):
"""
Update an ECJU query to be closed
"""
ecju_query = get_ecju_query(ecju_pk)
if ecju_query.response:
return JsonResponse(
Expand Down

0 comments on commit a6a44a2

Please sign in to comment.