From: Roland Häder <roland@mxchange.org>
Date: Thu, 22 Jun 2023 20:41:30 +0000 (+0200)
Subject: Continued:
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d33cde3ba2a60c18cccf2ee80abeb113f98434cf;p=fba.git

Continued:
- also include Friendica
---

diff --git a/api.py b/api.py
index d7d104e..d08cc44 100644
--- a/api.py
+++ b/api.py
@@ -74,7 +74,7 @@ def api_scoreboard(mode: str, amount: int):
     elif mode == "obfucator":
         database.cursor.execute("SELECT software, COUNT(domain) AS cnt FROM instances WHERE has_obfucation = 1 GROUP BY software ORDER BY cnt DESC LIMIT ?", [amount])
     elif mode == "obfucation":
-        database.cursor.execute("SELECT has_obfucation, COUNT(domain) AS cnt FROM instances WHERE software IN ('pleroma', 'mastodon') GROUP BY has_obfucation ORDER BY cnt DESC LIMIT ?", [amount])
+        database.cursor.execute("SELECT has_obfucation, COUNT(domain) AS cnt FROM instances WHERE software IN ('pleroma', 'mastodon', 'friendica') GROUP BY has_obfucation ORDER BY cnt DESC LIMIT ?", [amount])
     else:
         raise HTTPException(status_code=400, detail="No filter specified")