diff --git a/brightIDfaucet/settings.py b/brightIDfaucet/settings.py index b761fb1..a6ce710 100644 --- a/brightIDfaucet/settings.py +++ b/brightIDfaucet/settings.py @@ -74,7 +74,6 @@ def str2bool(v): MEMCACHED_PASSWORD = os.environ.get("MEMCACHEDCLOUD_PASSWORD") DEPLOYMENT_ENV = os.environ.get("DEPLOYMENT_ENV") - TELEGRAM_BOT_API_KEY = os.environ.get("TELEGRAM_BOT_API_KEY") TELEGRAM_BOT_USERNAME = os.environ.get("TELEGRAM_BOT_USERNAME") TELEGRAM_BOT_API_SECRET = os.environ.get("TELEGRAM_BOT_API_SECRET") @@ -203,10 +202,8 @@ def before_send(event, hint): "default": { "BACKEND": "django_bmemcached.memcached.BMemcached", "LOCATION": MEMCACHED_URL.split(","), - "OPTIONS": { - "username": MEMCACHED_USERNAME, - "password": MEMCACHED_PASSWORD, - }, + "username": MEMCACHED_USERNAME, + "password": MEMCACHED_PASSWORD, } } else: