From 69e22df6e07ed80ae5075e73215215300c7ebccf Mon Sep 17 00:00:00 2001 From: Jeff Astor Date: Thu, 19 Oct 2023 13:43:48 -0400 Subject: [PATCH] [Friendly Spellcheck]: Fix typo in init_sentry event --- apps/api/src/core/events/sentry.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/api/src/core/events/sentry.py b/apps/api/src/core/events/sentry.py index 895848d0..7c460fdb 100644 --- a/apps/api/src/core/events/sentry.py +++ b/apps/api/src/core/events/sentry.py @@ -6,11 +6,11 @@ from config.config import LearnHouseConfig async def init_sentry(app: FastAPI) -> None: - leanrhouse_config : LearnHouseConfig = app.learnhouse_config # type: ignore - if leanrhouse_config.hosting_config.sentry_config is not None: + learnhouse_config : LearnHouseConfig = app.learnhouse_config # type: ignore + if learnhouse_config.hosting_config.sentry_config is not None: sentry_sdk.init( dsn=app.learnhouse_config.hosting_config.sentry_config.dsn, # type: ignore environment=app.learnhouse_config.hosting_config.sentry_config.environment, # type: ignore release=app.learnhouse_config.hosting_config.sentry_config.release, # type: ignore traces_sample_rate=1.0, - ) \ No newline at end of file + )