diff --git a/sikweb/settings.py b/sikweb/settings.py index b18ebcc..e2d4af5 100644 --- a/sikweb/settings.py +++ b/sikweb/settings.py @@ -82,7 +82,7 @@ DATABASES = { # Google api settings GROUP_KEY = os.getenv("GROUP_KEY", "") -GOOGLE_SERVICE_ACCOUNT = json.loads(os.getenv("GOOGLE_CREDS_JSON", '{}')) +GOOGLE_SERVICE_ACCOUNT = json.loads(os.getenv("GOOGLE_CREDS_JSON", "{}")) # JWT authentication SIMPLE_JWT = { diff --git a/webapp/utils.py b/webapp/utils.py index 672e5c0..71f29b8 100644 --- a/webapp/utils.py +++ b/webapp/utils.py @@ -147,7 +147,7 @@ def add_to_mailinglist(email: str): pass else: logging.exception("Failed adding user to list") - + # Send email notificcation to maintainer, only in prod if DEPLOY_ENV == "production": to = "ilari.ojakorpi@sahkoinsinoorikilta.fi"