diff --git a/src/backend/langflow/api/v1/files.py b/src/backend/langflow/api/v1/files.py index cdad30468..22a44a2b1 100644 --- a/src/backend/langflow/api/v1/files.py +++ b/src/backend/langflow/api/v1/files.py @@ -74,7 +74,7 @@ async def download_file( raise HTTPException(status_code=500, detail=str(e)) -@router("/images/{flow_id}/{file_name}") +@router.get("/images/{flow_id}/{file_name}") async def download_image( file_name: str, flow_id: str = Depends(get_flow_id), storage_service: StorageService = Depends(get_storage_service) ):