Skip to content

Commit

Permalink
Merge pull request #23 from InspectorIncognito/fix/EDD-3327-speed-dow…
Browse files Browse the repository at this point in the history
…nload-endpoints-and-historic-calc

fix(Alerts): Fixed alert endpoint
  • Loading branch information
Mrtn-fa authored Oct 3, 2024
2 parents bbfa3eb + 69068d4 commit b365ef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/rest_api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def active(self, request, *args, **kwargs):
)
if len(self.request.query_params) == 0:
previous_date, previous_temporal_segment = get_previous_temporal_segment()
# queryset = queryset.filter(timestamp__date=previous_date, temporal_segment=previous_temporal_segment)
queryset = queryset.filter(timestamp__date=previous_date, temporal_segment=previous_temporal_segment)
response = dict(
count=queryset.count(),
results=queryset
Expand Down

0 comments on commit b365ef1

Please sign in to comment.