fix: user created by stats (#2016)

This commit is contained in:
Nikhil 2023-08-30 12:18:56 +05:30 committed by GitHub
parent 426f65898b
commit 761a1eb41a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1100,7 +1100,6 @@ class WorkspaceUserProfileStatsEndpoint(BaseAPIView):
created_issues = (
Issue.issue_objects.filter(
workspace__slug=slug,
assignees__in=[user_id],
project__project_projectmember__member=request.user,
created_by_id=user_id,
)