Merge pull request #7 from markmorado/claude/code-review-audit-cxCWB

fix: repair two runtime bugs missed in Q2/Q3
This commit is contained in:
Dilshod Rasulov
2026-03-07 23:40:37 +05:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -788,7 +788,7 @@ async def cleanup_orphan_allocations(
errors = [] errors = []
# Get orphans # Get orphans
orphans_result = await get_orphan_allocations(db, current_user) orphans_result = get_orphan_allocations(db, current_user)
orphans = orphans_result['orphans'] orphans = orphans_result['orphans']
for orphan in orphans: for orphan in orphans:

View File

@@ -4,6 +4,7 @@ from .sdn import router as sdn_router
from .snapshots import router as snapshots_router from .snapshots import router as snapshots_router
from .vms import router as vms_router from .vms import router as vms_router
from .tasks import router as tasks_router from .tasks import router as tasks_router
from ._helpers import get_next_vmid, save_vm_instance, get_vm_instance
router = APIRouter() router = APIRouter()
router.include_router(servers_router) router.include_router(servers_router)