mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: url missing for my workspace issues
This commit is contained in:
parent
2881f990f5
commit
cefea57bd6
@ -54,8 +54,8 @@ from plane.api.views import (
|
||||
BulkDeleteIssuesEndpoint,
|
||||
BulkAssignIssuesToCycleEndpoint,
|
||||
ProjectUserViewsEndpoint,
|
||||
UserWorkSpaceIssues,
|
||||
UserLastProjectWithWorkspaceEndpoint,
|
||||
UserWorkSpaceIssues,
|
||||
)
|
||||
|
||||
from plane.api.views.project import AddTeamToProjectEndpoint
|
||||
@ -496,7 +496,7 @@ urlpatterns = [
|
||||
BulkDeleteIssuesEndpoint.as_view(),
|
||||
),
|
||||
path(
|
||||
"workspaces/<str:slug>/me/issues/",
|
||||
"workspaces/<str:slug>/my-issues/",
|
||||
UserWorkSpaceIssues.as_view(),
|
||||
name="workspace-issues",
|
||||
),
|
||||
|
@ -163,7 +163,6 @@ class IssueViewSet(BaseViewSet):
|
||||
class UserWorkSpaceIssues(BaseAPIView):
|
||||
def get(self, request, slug):
|
||||
try:
|
||||
print(request.user)
|
||||
issues = Issue.objects.filter(
|
||||
assignees__in=[request.user], workspace__slug=slug
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user