Skip to content

Commit

Permalink
Merge pull request #2703 from ohcnetwork/rithviknishad/fix/heatmap
Browse files Browse the repository at this point in the history
fixes heatmap API edge case
  • Loading branch information
vigneshhari authored Jan 4, 2025
2 parents d1468c6 + 88dd31f commit b741a01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion care/emr/api/viewsets/scheduling/availability.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def availability_stats(self, request, *args, **kwargs):
booked_slots = (
TokenSlot.objects.filter(
start_datetime__lte=request_data.to_date,
end_datetime__gte=request_data.from_date,
end_datetime__gt=request_data.from_date,
resource=resource,
)
.values("start_datetime__date")
Expand Down

0 comments on commit b741a01

Please sign in to comment.