From 042ce3efa6eb401499ac5ccb19266384eff19128 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 23 Jun 2023 02:40:11 +0200 Subject: [PATCH] Fixed: - tpzo fixed --- api.py | 10 +++++----- templates/views/index.html | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/api.py b/api.py index 7ffa3c3..d1ead22 100644 --- a/api.py +++ b/api.py @@ -45,11 +45,11 @@ def api_info(): row = database.cursor.fetchone() return { - "known_instances" : row[0], - "indexed_instances" : row[1], - "blocks_recorded" : row[2], - "errorous_instances": row[3], - "slogan" : config.get("slogan") + "known_instances" : row[0], + "indexed_instances" : row[1], + "blocks_recorded" : row[2], + "erroneous_instances": row[3], + "slogan" : config.get("slogan"), } @router.get(config.get("base_url") + "/api/scoreboard.json", response_class=JSONResponse) diff --git a/templates/views/index.html b/templates/views/index.html index a179703..891fd40 100644 --- a/templates/views/index.html +++ b/templates/views/index.html @@ -43,7 +43,7 @@ known instances: {{info.known_instances}}
indexed instances: {{info.indexed_instances}}
blocks recorded: {{info.blocks_recorded}}
- errorous instances: {{info.errorous_instances}}
+ erroneous instances: {{info.erroneous_instances}}

{{ super() }} {% endblock %} -- 2.39.5