Fix env_config

This commit is contained in:
2022-04-24 15:37:50 +03:00
parent 9e52327efb
commit ba9fb6af05
2 changed files with 2 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ class EnvConfig(BaseSettings):
REDIS_PORT: int
REDIS_DB: int
SENTRY_SDN: str
SENTRY_DSN: str
env_config = EnvConfig()

View File

@@ -4,5 +4,5 @@ from core.config import env_config
sentry_sdk.init(
env_config.SENTRY_SDN,
env_config.SENTRY_DSN,
)