From 8c3e26a0a0234422c736c1fa7e77d62d42be24d9 Mon Sep 17 00:00:00 2001 From: Mohammad Amin Date: Mon, 16 Sep 2024 12:38:53 +0330 Subject: [PATCH] fix: query updated to use platform agnostic raw data! --- utils/mongo_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: