This commit is contained in:
Ojakoo
2022-08-06 11:03:39 +03:00
parent 4fbf5fe0a4
commit 34659403a8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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 = {
+1 -1
View File
@@ -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"