This commit is contained in:
Ojakoo
2022-08-16 23:00:36 +03:00
parent da3a484f6c
commit 0026b788b2
+5 -1
View File
@@ -82,7 +82,11 @@ DATABASES = {
# Google api settings # Google api settings
GROUP_KEY = os.getenv("GROUP_KEY", "") GROUP_KEY = os.getenv("GROUP_KEY", "")
GOOGLE_SERVICE_ACCOUNT = json.loads(os.getenv("GOOGLE_CREDS_JSON", "{}")) try:
GOOGLE_SERVICE_ACCOUNT = json.loads(os.getenv("GOOGLE_CREDS_JSON", "{}"))
except:
GOOGLE_SERVICE_ACCOUNT = json.loads("{}")
# JWT authentication # JWT authentication
SIMPLE_JWT = { SIMPLE_JWT = {