From b99e402c4a3b5642c3a1dffad3653222d51c967c Mon Sep 17 00:00:00 2001 From: Justin Hsieh <41461549+justin-hsieh@users.noreply.github.com> Date: Thu, 9 Nov 2023 14:02:04 -0700 Subject: [PATCH] Update app.py --- app.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app.py b/app.py index 2587ae5..655f599 100644 --- a/app.py +++ b/app.py @@ -12,9 +12,8 @@ load_dotenv() DATABASE_URL = os.getenv('DATABASE_URL') -CREDS = os.getenv('CREDS') -cred = credentials.Certificate(CREDS) +cred = credentials.Certificate("./CREDS.json") if not firebase_admin._apps: firebase_admin.initialize_app(cred, { 'databaseURL': DATABASE_URL