From: Roland Häder Date: Fri, 23 Jun 2023 00:40:11 +0000 (+0200) Subject: Fixed: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=042ce3efa6eb401499ac5ccb19266384eff19128;p=fba.git Fixed: - tpzo fixed --- 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 %}