Skip to content

Commit

Permalink
Merge pull request #249 from TogetherCrew/feat/analyzer-helpers-disco…
Browse files Browse the repository at this point in the history
…urse

fix: wrong mongodb query for fetching analyzer parameters!
  • Loading branch information
amindadgar authored Aug 7, 2024
2 parents e5429dc + 1224d11 commit 3bd88a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dags/analyzer_helper/common/fetch_platforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,8 @@ def fetch_analyzer_parameters(self, platform_id: str):
query = {
"_id": ObjectId(platform_id),
"disconnectedAt": None,
"platform": self.platform_name,
"name": self.platform_name,
}
# TODO: introduce strategy pattern once we add 'telegram'
if self.platform_name == "discord":
projection = {
"_id": 1,
Expand Down

0 comments on commit 3bd88a4

Please sign in to comment.