feature/rbac-implementation

This commit is contained in:
2026-05-21 07:56:20 -06:00
parent 3c10653d6a
commit e174df0af3
6 changed files with 29 additions and 20 deletions

View File

@@ -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: