Skip to content

Commit

Permalink
get requests only. update label
Browse files Browse the repository at this point in the history
  • Loading branch information
eatyourpeas committed Aug 16, 2024
1 parent 788b63b commit 208e230
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,9 @@ def list(self, request, ods_code=None):
location=OpenApiParameter.QUERY,
),
],
summary="This endpoint returns a list of NHS Trusts within a Paediatric Diabetes Unit (with their parent), against an ODS code.",
summary="This endpoint returns the parent NHS Trust for a given Paediatric Diabetes Unit (with their primary organisation), against a PZ code. If no code is provide, a list is returned.",
)
class PaediatricDiabetesUnitForTrustViewSet(viewsets.ModelViewSet):
class PaediatricDiabetesUnitForTrustViewSet(viewsets.ReadOnlyModelViewSet):
queryset = PaediatricDiabetesUnit.objects.all()
serializer_class = PaediatricDiabetesUnitWithNestedTrustSerializer

Expand Down

0 comments on commit 208e230

Please sign in to comment.