chore: added epoch in draft (#2244)

* chore: added epoch in draft

* chore: removed extra spaces
This commit is contained in:
Bavisetti Narayan 2023-09-22 16:32:53 +05:30 committed by GitHub
parent 771ca585db
commit 02060f654c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 42 additions and 41 deletions

View File

@ -2439,6 +2439,7 @@ class IssueDraftViewSet(BaseViewSet):
current_instance=json.dumps( current_instance=json.dumps(
IssueSerializer(current_instance).data, cls=DjangoJSONEncoder IssueSerializer(current_instance).data, cls=DjangoJSONEncoder
), ),
epoch=int(timezone.now().timestamp())
) )
return super().perform_destroy(instance) return super().perform_destroy(instance)