Skip to content

Commit

Permalink
fix env var
Browse files Browse the repository at this point in the history
  • Loading branch information
shiloholotu committed Apr 10, 2024
1 parent 5a37de9 commit afd3a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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("/")
Expand Down

0 comments on commit afd3a87

Please sign in to comment.