Fix: Stats-Kotbeutel → waste_basket Typ in osm_pois (zeigt echte Mülleimer-Zahl)

This commit is contained in:
rene 2026-05-14 22:47:14 +02:00
parent 6495a5ff6b
commit c032b9a3fb

View file

@ -38,7 +38,7 @@ async def public_stats():
posts = conn.execute("SELECT COUNT(*) FROM forum_posts").fetchone()[0] posts = conn.execute("SELECT COUNT(*) FROM forum_posts").fetchone()[0]
diary = conn.execute("SELECT COUNT(*) FROM diary").fetchone()[0] diary = conn.execute("SELECT COUNT(*) FROM diary").fetchone()[0]
kotbeutel = conn.execute( kotbeutel = conn.execute(
"SELECT COUNT(*) FROM osm_pois WHERE type='kotbeutel'" "SELECT COUNT(*) FROM osm_pois WHERE type='waste_basket'"
).fetchone()[0] ).fetchone()[0]
data = { data = {
"users": users, "users": users,