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

Cambio ots por rd

parent 98fb4d77
No related branches found
No related tags found
No related merge requests found
......@@ -104,7 +104,7 @@ class Verify(APIView):
schema=coreschema.String(),
description='El hash del archivo encodeado en sha256',
), coreapi.Field(
name='ots',
name='rd',
required=True,
location='form',
schema=coreschema.String(),
......@@ -181,4 +181,4 @@ class Verify(APIView):
return Response({_('status'): _('failure'), _('messages'): _('could_not_connect')}, status=status.HTTP_503_SERVICE_UNAVAILABLE)
except Exception as e:
client.captureException()
return Response({_('status'): _('failure'), _('messages'): _('operation_failed')}, status=status.HTTP_500_INTERNAL_SERVER_ERROR)
\ No newline at end of file
return Response({_('status'): _('failure'), _('messages'): _('operation_failed')}, status=status.HTTP_500_INTERNAL_SERVER_ERROR)
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