Refactor: fix admin exception (#10400)

### What problem does this PR solve?

As title

### Type of change

- [x] Refactoring

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
Jin Hai
2025-10-09 11:15:33 +08:00
committed by GitHub
parent dfc5fa1f4d
commit ef0aecea3b
2 changed files with 5 additions and 0 deletions

View File

@ -8,6 +8,7 @@ from api.db.services.user_service import TenantService
from api.db.services.knowledgebase_service import KnowledgebaseService
from api.utils.crypt import decrypt
from api.utils import health_utils
from api.common.exceptions import AdminException, UserAlreadyExistsError, UserNotFoundError
from config import SERVICE_CONFIGS