feature/rbac-implementation
This commit is contained in:
@@ -145,12 +145,13 @@ async def obtener_acuse(**kwargs):
|
||||
organizacion = pedimento.get("organizacion", None)
|
||||
pedimento_id = pedimento.get("id", None)
|
||||
|
||||
rest_response = await acuse_rest_controller.post_document(
|
||||
rest_response = await acuse_rest_controller.post_or_update_document(
|
||||
binary_content=pdf_bytes,
|
||||
organizacion=organizacion,
|
||||
pedimento=pedimento_id,
|
||||
file_name=_file_name,
|
||||
document_type=4
|
||||
document_type=4,
|
||||
identifier=idEdocument_efc,
|
||||
)
|
||||
|
||||
if rest_response is None:
|
||||
|
||||
Reference in New Issue
Block a user