chore: workspace module list endpoint (#4343)

This commit is contained in:
Bavisetti Narayan 2024-05-02 19:18:41 +05:30 committed by GitHub
parent 45c9dfb3cf
commit 4cb5c4d9df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ class WorkspaceCyclesEndpoint(BaseAPIView):
.select_related("project")
.select_related("workspace")
.select_related("owned_by")
.filter(archived_at__isnull=False)
.filter(archived_at__isnull=True)
.annotate(
total_issues=Count(
"issue_cycle",

View File

@ -30,7 +30,7 @@ class WorkspaceModulesEndpoint(BaseAPIView):
.select_related("workspace")
.select_related("lead")
.prefetch_related("members")
.filter(archived_at__isnull=False)
.filter(archived_at__isnull=True)
.prefetch_related(
Prefetch(
"link_module",