Spaces:
Running
Running
Update database.py
Browse files- 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,
|
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 |
|