]> git.mxchange.org Git - fba.git/commitdiff
Fixed:
authorRoland Häder <roland@mxchange.org>
Fri, 23 Jun 2023 00:40:11 +0000 (02:40 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 23 Jun 2023 00:40:11 +0000 (02:40 +0200)
- tpzo fixed

api.py
templates/views/index.html

diff --git a/api.py b/api.py
index 7ffa3c37bf91e951874428b12736acd3ee9d65c9..d1ead22ec416bb3a55b2dd1d87a9bfed901f3d7c 100644 (file)
--- 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)
index a179703f1f78d84707e845927c059676780c7219..891fd40b9de3a374f7da32231f570a431e4ae7b0 100644 (file)
@@ -43,7 +43,7 @@
         known instances: {{info.known_instances}}<br/>
         indexed instances: {{info.indexed_instances}}<br/>
         blocks recorded: {{info.blocks_recorded}}<br/>
-        errorous instances: {{info.errorous_instances}}<br/>
+        erroneous instances: {{info.erroneous_instances}}<br/>
     </p>
     {{ super() }}
 {% endblock %}