diff --git a/requirements.txt b/requirements.txt index 6235ba5..dca2915 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,9 +1,9 @@ -streamlit -streamlit-authenticator -numpy -pandas -matplotlib -python-dotenv -pymongo -pytest -coverage +streamlit==1.31.1 +streamlit-authenticator==0.3.1 +numpy==1.26.4 +pandas==2.2.1 +matplotlib==3.8.3 +python-dotenv==1.0.1 +pymongo==4.6.2 +pytest==8.0.2 +coverage==7.4.3 diff --git a/utils/mongo_base.py b/utils/mongo_base.py index 7792f72..c760b2f 100644 --- a/utils/mongo_base.py +++ b/utils/mongo_base.py @@ -14,7 +14,7 @@ def get_raw_data_count(self, from_date: datetime): raw_data_count = client[self.platform_id][ "rawmemberactivities" - ].count_documents({"createdDate": {"$gte": from_date}}) + ].count_documents({"date": {"$gte": from_date}}) return raw_data_count def get_guild_members_count(self) -> int: