feature/rbac-implementation
This commit is contained in:
@@ -203,12 +203,13 @@ async def obtener_edoc(**kwargs):
|
||||
# No guardaremos el archivo localmente por seguridad
|
||||
logger.debug(f"Procesando documento {numero_documento} para pedimento {pedimento_id}")
|
||||
|
||||
rest_response = await edocs_rest_controller.post_document(
|
||||
rest_response = await edocs_rest_controller.post_or_update_document(
|
||||
binary_content=pdf_bytes,
|
||||
organizacion=organizacion,
|
||||
pedimento=pedimento_id,
|
||||
file_name=_file_name,
|
||||
document_type=5
|
||||
document_type=5,
|
||||
identifier=numero_documento,
|
||||
)
|
||||
|
||||
print(f"rest_response >>>> {rest_response}")
|
||||
|
||||
Reference in New Issue
Block a user