Skip to content

Commit

Permalink
DBC22-1695: cam API now filters on should_appear
Browse files Browse the repository at this point in the history
  • Loading branch information
ray-oxd committed Mar 6, 2024
1 parent 05dde50 commit a8ee879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/apps/webcam/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


class WebcamAPI(CachedListModelMixin):
queryset = Webcam.objects.all()
queryset = Webcam.objects.filter(should_appear=True)
serializer_class = WebcamSerializer
cache_key = CacheKey.WEBCAM_LIST
cache_timeout = CacheTimeout.WEBCAM_LIST
Expand Down

0 comments on commit a8ee879

Please sign in to comment.