Skip to content
Snippets Groups Projects
Commit 799d72c4 authored by Patricio Kumagae's avatar Patricio Kumagae
Browse files

Revert "Agrego hora y fecha a la respuesta del verify"

This reverts commit c0aadfa3.
parent 5a360271
No related branches found
No related tags found
No related merge requests found
......@@ -144,7 +144,6 @@ class Verify(APIView):
return Response({_('status'): _('success'),
_('permanent_rd'): base64.b64encode(Utils.get_permanent_ots(original_file_hash, ots_hash, tx_hash, block.number).encode('utf-8')).decode('utf-8'),
_('attestation_time'): str(Utils.datetime_from_timestamp(block.timestamp)),
_('messages'): _('file_uploaded') % (
file_hash, str(block.number),
str(Utils.datetime_from_timestamp(block.timestamp)))},
......@@ -175,7 +174,6 @@ class Verify(APIView):
return Response({_('status'): _('success'),
_('permanent_rd'): base64.b64encode(Utils.get_permanent_ots(original_file_hash, ots_hash, tx_hash, block.number).encode('utf-8')).decode('utf-8'),
_('attestation_time'): str(Utils.datetime_from_timestamp(block.timestamp)),
_('messages'): _('file_uploaded') % (original_file_hash, str(block.number), str(
Utils.datetime_from_timestamp(block.timestamp)))}, status=status.HTTP_200_OK)
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment