Skip to content

Commit

Permalink
fix: ticket_uuid filter used in the Room queryset in the RoomUserExte…
Browse files Browse the repository at this point in the history
…rnalViewSet's partial_update
  • Loading branch information
kallilsouza committed Dec 19, 2024
1 parent d1b5afb commit 3184e11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chats/apps/api/v1/external/rooms/viewsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def partial_update(self, request, pk=None):
project = request_permission.project
room = (
Room.objects.filter(
(Q(ticket__uuid=pk) | Q(callback_url__endswith=pk))
(Q(ticket_uuid=pk) | Q(callback_url__endswith=pk))
& Q(project_uuid=project)
& Q(is_active=True)
)
Expand Down

0 comments on commit 3184e11

Please sign in to comment.