~mohab/fightlike

3618eb5f80af5ae5835663672b166c7a3bd8bda5 — mohab 4 months ago 546b32a main
fix: results reduced to 9 to avoid hitting Mastodon 500 character limit
1 files changed, 1 insertions(+), 1 deletions(-)

M database.py
M database.py => database.py +1 -1
@@ 96,7 96,7 @@ def composePipeline(charName: str, flags: [str]):
            "count": {"$sum": 1}}
        },
        {"$sort": SON([("count", -1)])},
        {"$limit": 10}
        {"$limit": 9}
    ]

    return pipeline