forked from github/plane
fix: draft archive issues (#4393)
This commit is contained in:
parent
d946c51ef1
commit
b8f1734738
@ -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):
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user