- only list entries where the software has been detected
- still this will list non-fediverse "instances" such as normal websites
elif reference != None:
if reference > 500:
raise HTTPException(status_code=400, detail="Too many results")
- fba.cursor.execute("SELECT origin, COUNT(domain) FROM instances GROUP BY origin ORDER BY COUNT(domain) DESC LIMIT ?", [reference])
+ fba.cursor.execute("SELECT origin, COUNT(domain) FROM instances WHERE software IS NOT NULL GROUP BY origin ORDER BY COUNT(domain) DESC LIMIT ?", [reference])
elif software != None:
if software > 500:
raise HTTPException(status_code=400, detail="Too many results")