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)
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 %}