diff --git a/apiserver/plane/app/views/issue/archive.py b/apiserver/plane/app/views/issue/archive.py index af019a7ec..cc3a343d2 100644 --- a/apiserver/plane/app/views/issue/archive.py +++ b/apiserver/plane/app/views/issue/archive.py @@ -241,9 +241,9 @@ class IssueArchiveViewSet(BaseViewSet): ) datetime_fields = ["created_at", "updated_at"] issues = user_timezone_converter( - issue_queryset, datetime_fields, request.user.user_timezone + issues, datetime_fields, request.user.user_timezone ) - + return Response(issues, status=status.HTTP_200_OK) def retrieve(self, request, slug, project_id, pk=None): diff --git a/apiserver/plane/app/views/issue/draft.py b/apiserver/plane/app/views/issue/draft.py index fe75c61f1..610c3c468 100644 --- a/apiserver/plane/app/views/issue/draft.py +++ b/apiserver/plane/app/views/issue/draft.py @@ -232,7 +232,7 @@ class IssueDraftViewSet(BaseViewSet): ) datetime_fields = ["created_at", "updated_at"] issues = user_timezone_converter( - issue_queryset, datetime_fields, request.user.user_timezone + issues, datetime_fields, request.user.user_timezone ) return Response(issues, status=status.HTTP_200_OK)