Fix: Stats-Kotbeutel aus osm_pois statt user_map_pois (zeigt 125.750 statt 2)

This commit is contained in:
rene 2026-05-14 22:45:50 +02:00
parent 129badf010
commit 6495a5ff6b

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 user_map_pois WHERE type='kotbeutel'" "SELECT COUNT(*) FROM osm_pois WHERE type='kotbeutel'"
).fetchone()[0] ).fetchone()[0]
data = { data = {
"users": users, "users": users,