chore: removed the issue draft log from my profile (#2368)

This commit is contained in:
Bavisetti Narayan 2023-10-04 17:47:46 +05:30 committed by GitHub
parent fb6f6454df
commit c2f0ae1ec5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1197,7 +1197,7 @@ class WorkspaceUserActivityEndpoint(BaseAPIView):
projects = request.query_params.getlist("project", []) projects = request.query_params.getlist("project", [])
queryset = IssueActivity.objects.filter( queryset = IssueActivity.objects.filter(
~Q(field__in=["comment", "vote", "reaction"]), ~Q(field__in=["comment", "vote", "reaction", "draft"]),
workspace__slug=slug, workspace__slug=slug,
project__project_projectmember__member=request.user, project__project_projectmember__member=request.user,
actor=user_id, actor=user_id,