Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
justin-hsieh committed Nov 9, 2023
1 parent ed3d97d commit b99e402
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b99e402

Please sign in to comment.