Skip to content

Commit

Permalink
Update dashboard tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Twixes committed Aug 2, 2024
1 parent 6c5f0d6 commit bbaf8ea
Show file tree
Hide file tree
Showing 3 changed files with 421 additions and 5,188 deletions.
2 changes: 1 addition & 1 deletion ee/api/dashboard_collaborator.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class DashboardCollaboratorViewSet(
queryset = DashboardPrivilege.objects.select_related("dashboard").filter(user__is_active=True)
lookup_field = "user__uuid"
serializer_class = DashboardCollaboratorSerializer
filter_rewrite_rules = {"team_id": "dashboard__team_id"}
filter_rewrite_rules = {"project_id": "dashboard__team__project_id"}

def get_serializer_context(self) -> dict[str, Any]:
context = super().get_serializer_context()
Expand Down
Loading

0 comments on commit bbaf8ea

Please sign in to comment.