Skip to content

Commit

Permalink
bad merge
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderegg committed Nov 19, 2024
1 parent ec8e4a8 commit af0dfb5
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from servicelib.fastapi.profiler_middleware import ProfilerMiddleware
from servicelib.fastapi.tracing import setup_tracing
from servicelib.logging_utils import config_all_loggers
from settings_library.basic_types import BootMode

from .._meta import API_VERSION, API_VTAG, APP_NAME, PROJECT_NAME, SUMMARY
from ..api.entrypoints import api_router
Expand Down Expand Up @@ -128,7 +127,7 @@ def create_base_app(settings: AppSettings | None = None) -> FastAPI:
logging.getLogger(name).setLevel(quiet_level)

app = FastAPI(
debug=settings.SC_BOOT_MODE is BootMode.DEVELOPMENT,
debug=settings.SC_BOOT_MODE.is_devel_mode(),
title=PROJECT_NAME,
description=SUMMARY,
version=API_VERSION,
Expand Down

0 comments on commit af0dfb5

Please sign in to comment.