Skip to content

Commit

Permalink
don't use async
Browse files Browse the repository at this point in the history
  • Loading branch information
madanalogy committed Nov 13, 2023
1 parent 3347506 commit 4bf34a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from firebase_admin import firestore


async def get_transactions(chat_id):
def get_transactions(chat_id):
app = firebase_admin.initialize_app()
db = firestore.client(app)
return db.collection("chats").document(chat_id).collection("transactions")
Expand Down

0 comments on commit 4bf34a4

Please sign in to comment.