final fixes

This commit is contained in:
Jacob Levine 2019-03-22 08:44:42 -05:00
parent 92602b3122
commit a795a89c2d

View File

@ -51,7 +51,9 @@ def generate_team_report(team):
credential = credentials.Certificate('keys/firebasekey.json') credential = credentials.Certificate('keys/firebasekey.json')
db = firestore.Client(project="titanscoutandroid", credentials=credential) firebase_admin.initialize_app(credential)
db = firestore.Client()
teams_ref = db.collection(u'data').document(u'team-2022').collection(u'Central 2019') teams_ref = db.collection(u'data').document(u'team-2022').collection(u'Central 2019')
teams = teams_ref.get() teams = teams_ref.get()