Fix IPFS router import path error
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled

Coordinator API:
- Fixed import path in ipfs.py from ...services to ....services
- File is in contexts/ipfs/routers/, needs 4 dots to reach services/
- Corrected both services and config imports

This fixes ModuleNotFoundError: No module named 'app.contexts.services'
This commit is contained in:
aitbc
2026-05-14 23:03:55 +02:00
parent 2ccf80ad5e
commit a3cedae262

View File

@@ -5,8 +5,8 @@ from typing import Optional
from fastapi import APIRouter, Depends, HTTPException, Query
from pydantic import BaseModel, Field
from ...services.ipfs_storage_service import IPFSStorageService, IPFSUploadResult
from ...config import settings
from ....services.ipfs_storage_service import IPFSStorageService, IPFSUploadResult
from ....config import settings
router = APIRouter()