Compare commits

...

1 Commits

Author SHA1 Message Date
NarayanBavisetti
a7b1405933 fix: changed time to timestamp 2023-09-19 21:34:31 +05:30

View File

@ -130,7 +130,7 @@ class IssueViewSet(BaseViewSet):
current_instance=json.dumps(
IssueSerializer(current_instance).data, cls=DjangoJSONEncoder
),
epoch = int(timezone.now().time())
epoch = int(timezone.now().timestamp())
)
return super().perform_update(serializer)
@ -2412,7 +2412,7 @@ class IssueDraftViewSet(BaseViewSet):
current_instance=json.dumps(
IssueSerializer(current_instance).data, cls=DjangoJSONEncoder
),
epoch = int(timezone.now().time())
epoch = int(timezone.now().timestamp())
)
return super().perform_update(serializer)