Fix imports

This commit is contained in:
Urtzi Alfaro
2025-07-18 14:41:39 +02:00
parent a469f0c01d
commit 4073222888
30 changed files with 123 additions and 119 deletions

View File

@@ -2,7 +2,7 @@
Authentication Service Main Application - Fixed middleware issue
"""
import logging
import structlog
from fastapi import FastAPI, Request
from fastapi.middleware.cors import CORSMiddleware
from fastapi.responses import JSONResponse
@@ -17,7 +17,7 @@ from shared.monitoring.metrics import setup_metrics_early
# Setup logging first
setup_logging("auth-service", settings.LOG_LEVEL)
logger = logging.getLogger(__name__)
logger = structlog.get_logger()
# Global variables for lifespan access
metrics_collector = None