From 50503620de7c034963b809625def5e296b9b5e52 Mon Sep 17 00:00:00 2001 From: vamsi Date: Wed, 11 Jan 2023 00:11:47 +0530 Subject: [PATCH] chore: env variables needs optional value --- apiserver/plane/settings/production.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apiserver/plane/settings/production.py b/apiserver/plane/settings/production.py index 6fa87678d..b8f48a830 100644 --- a/apiserver/plane/settings/production.py +++ b/apiserver/plane/settings/production.py @@ -19,9 +19,9 @@ DATABASES = { "default": { "ENGINE": "django.db.backends.postgresql_psycopg2", "NAME": "plane", - "USER": os.environ.get("PGUSER"), - "PASSWORD": os.environ.get("PGPASSWORD"), - "HOST": os.environ.get("PGHOST"), + "USER": os.environ.get("PGUSER", ""), + "PASSWORD": os.environ.get("PGPASSWORD", ""), + "HOST": os.environ.get("PGHOST", ""), } }