diff --git a/src/backend/core/api/serializers.py b/src/backend/core/api/serializers.py index 5894fa88..7b3f9c6f 100644 --- a/src/backend/core/api/serializers.py +++ b/src/backend/core/api/serializers.py @@ -134,6 +134,4 @@ def to_representation(self, instance): output["is_administrable"] = is_admin - # todo - pass properly livekit configuration - return output diff --git a/src/backend/core/api/viewsets.py b/src/backend/core/api/viewsets.py index e02bc63d..97d7f25d 100644 --- a/src/backend/core/api/viewsets.py +++ b/src/backend/core/api/viewsets.py @@ -209,7 +209,6 @@ def list(self, request, *args, **kwargs): user = self.request.user if user.is_authenticated: - # todo - simplify this queryset queryset = ( self.filter_queryset(self.get_queryset()) .filter(Q(users=user)) diff --git a/src/backend/core/utils.py b/src/backend/core/utils.py index 7055eae6..65118b52 100644 --- a/src/backend/core/utils.py +++ b/src/backend/core/utils.py @@ -22,7 +22,6 @@ def generate_token(room: str, user, username: Optional[str] = None) -> str: str: The LiveKit JWT access token. """ - # todo - define the video grants properly based on user and room. video_grants = VideoGrants( room=room, room_join=True,