mirror of
https://github.com/hanzoai/bootnode.git
synced 2026-10-25 02:31:30 +00:00
fix: import get_current_user from core.iam not api.deps
The networks module imported get_current_user from bootnode.api.deps where it doesn't exist — it's in bootnode.core.iam. This broke the entire API startup (uvicorn can't import bootnode.main:app).
This commit is contained in:
@@ -26,7 +26,7 @@ import structlog
|
||||
from fastapi import APIRouter, Depends, HTTPException
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
from bootnode.api.deps import get_current_user
|
||||
from bootnode.core.iam import get_current_user
|
||||
|
||||
logger = structlog.get_logger()
|
||||
router = APIRouter()
|
||||
|
||||
Reference in New Issue
Block a user