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:
justin 2026-05-04 10:59:45 -05:00
parent ff47f47a37
commit 9ca6094984
5 changed files with 7 additions and 7 deletions

View file

@ -91,7 +91,7 @@ class RMDFilingHandler(BaseServiceHandler):
if path.endswith(".pdf"):
remote = f"compliance/{order_number}/{os.path.basename(path)}"
try:
storage.upload_file(path, remote)
storage.upload(path, remote)
minio_paths.append(remote)
except Exception as exc:
logger.warning("MinIO upload failed for %s: %s", path, exc)