Fix MinioStorage.upload_file → .upload + suppress instant delivery during eSign pause
- upload_file doesn't exist on MinioStorage — the method is upload() - Return [] when pausing for eSign so job_server doesn't trigger instant delivery Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
ff47f47a37
commit
9ca6094984
5 changed files with 7 additions and 7 deletions
|
|
@ -69,7 +69,7 @@ class DCAgentHandler(BaseServiceHandler):
|
|||
from scripts.document_gen import MinioStorage
|
||||
storage = MinioStorage()
|
||||
minio_key = f"compliance/{order_number}/dc_agent_acceptance.pdf"
|
||||
storage.upload_file(pdf_path or acceptance, minio_key)
|
||||
storage.upload(pdf_path or acceptance, minio_key)
|
||||
minio_path = minio_key
|
||||
logger.info("DCAgentHandler: acceptance letter uploaded to %s", minio_key)
|
||||
except Exception as exc:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue