From 5e29b50bcc80f9ce3360fe2088a429d6c25d3cd5 Mon Sep 17 00:00:00 2001 From: Agent Zero Date: Wed, 29 Jul 2026 17:55:33 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20storage.load()=20=E2=86=92=20storage.rea?= =?UTF-8?q?d()=20for=20attachment=20download?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/routes/attachments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes/attachments.py b/app/routes/attachments.py index f1eff78..4e22076 100644 --- a/app/routes/attachments.py +++ b/app/routes/attachments.py @@ -103,7 +103,7 @@ async def download_attachment( from app.core.storage import get_storage_backend storage = get_storage_backend() try: - file_bytes = await storage.load(storage_path) + file_bytes = await storage.read(storage_path) except Exception: raise HTTPException(404, detail={"detail": "File not found in storage", "code": "file_missing"})