From ba9fb6af0521652bfa776b71496ed42da358780f Mon Sep 17 00:00:00 2001 From: Bulat Kurbanov Date: Sun, 24 Apr 2022 15:37:50 +0300 Subject: [PATCH] Fix env_config --- src/core/config.py | 2 +- src/core/sentry.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/config.py b/src/core/config.py index 767c6cf..22b5926 100644 --- a/src/core/config.py +++ b/src/core/config.py @@ -23,7 +23,7 @@ class EnvConfig(BaseSettings): REDIS_PORT: int REDIS_DB: int - SENTRY_SDN: str + SENTRY_DSN: str env_config = EnvConfig() diff --git a/src/core/sentry.py b/src/core/sentry.py index d83860d..a2ad94c 100644 --- a/src/core/sentry.py +++ b/src/core/sentry.py @@ -4,5 +4,5 @@ from core.config import env_config sentry_sdk.init( - env_config.SENTRY_SDN, + env_config.SENTRY_DSN, )