randydev commited on
Commit
33068c5
1 Parent(s): 58c93e3

Update database.py

Browse files
Files changed (1) hide show
  1. database.py +1 -1
database.py CHANGED
@@ -640,7 +640,7 @@ class Database:
640
  user_data = await self.chatbot.find_one({"chat_id": chat_id})
641
  return user_data.get("user_id") if user_data else None
642
 
643
- async def gemini_plan(self, chat_id):
644
  user_data = await self.gemini_plan.find_one({"user_id": user_id})
645
  return user_data.get("is_plan") if user_data else None
646
 
 
640
  user_data = await self.chatbot.find_one({"chat_id": chat_id})
641
  return user_data.get("user_id") if user_data else None
642
 
643
+ async def gemini_plan(self, user_id):
644
  user_data = await self.gemini_plan.find_one({"user_id": user_id})
645
  return user_data.get("is_plan") if user_data else None
646