From afd3a870ed869f2a11bfa97f69d5200cab59ef4d Mon Sep 17 00:00:00 2001 From: Shiloh Olotu Date: Wed, 10 Apr 2024 00:54:28 -0500 Subject: [PATCH] fix env var --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 0a29719..0292c7c 100644 --- a/app.py +++ b/app.py @@ -9,7 +9,7 @@ try: cred = credentials.Certificate("key.json") except: - cred = credentials.Certificate(json.loads(decrypt(os.environ.get("API_KEY")))) + cred = credentials.Certificate(json.loads(os.environ.get("API_KEY"))) firebase_admin.initialize_app(cred, {"databaseURL":"https://fbla-decfd-default-rtdb.firebaseio.com/"}) ref = db.reference("/")