[WEB-2388] chore: theme changes and workspace draft issue total count updated (#5805)

* chore: theme changes and total count updated

* chore: code refactor
This commit is contained in:
Anmol Singh Bhatia 2024-10-11 17:57:48 +05:30 committed by GitHub
parent 6200890693
commit c9dbd1d5d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 23 additions and 6 deletions

View file

@ -210,7 +210,7 @@ class WorkspaceDraftIssueViewSet(BaseViewSet):
@allow_permission(
allowed_roles=[ROLE.ADMIN],
creator=True,
model=Issue,
model=DraftIssue,
level="WORKSPACE",
)
def destroy(self, request, slug, pk=None):