mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: draft archive issues (#4393)
This commit is contained in:
parent
d946c51ef1
commit
b8f1734738
@ -241,7 +241,7 @@ class IssueArchiveViewSet(BaseViewSet):
|
|||||||
)
|
)
|
||||||
datetime_fields = ["created_at", "updated_at"]
|
datetime_fields = ["created_at", "updated_at"]
|
||||||
issues = user_timezone_converter(
|
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)
|
return Response(issues, status=status.HTTP_200_OK)
|
||||||
|
@ -232,7 +232,7 @@ class IssueDraftViewSet(BaseViewSet):
|
|||||||
)
|
)
|
||||||
datetime_fields = ["created_at", "updated_at"]
|
datetime_fields = ["created_at", "updated_at"]
|
||||||
issues = user_timezone_converter(
|
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)
|
return Response(issues, status=status.HTTP_200_OK)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user