Skip to content

Commit

Permalink
Corrected Summary
Browse files Browse the repository at this point in the history
  • Loading branch information
vigneshhari committed Jul 11, 2020
1 parent 97caee5 commit 78e586c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion care/facility/summarisation/facility_capacity.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class FacilityCapacitySummaryViewSet(
RetrieveModelMixin, ListModelMixin, GenericViewSet,
):
lookup_field = "external_id"
queryset = FacilityRelatedSummary.objects.all().order_by("-created_date")
queryset = FacilityRelatedSummary.objects.filter(s_type="FacilityCapacity").order_by("-created_date")
permission_classes = (IsAuthenticated,)
serializer_class = FacilityCapacitySummarySerializer

Expand Down

0 comments on commit 78e586c

Please sign in to comment.