mirror of
https://github.com/stijndcl/didier.git
synced 2026-06-30 01:49:56 +02:00
Fix typo in stats route
This commit is contained in:
parent
66d6e2480f
commit
ce9ecc8c61
2 changed files with 4 additions and 3 deletions
|
|
@ -1,8 +1,9 @@
|
|||
from functions.database.commands import query_command_stats
|
||||
from quart import Blueprint
|
||||
|
||||
command_stats_blueprint: Blueprint = Blueprint("command_stats", __name__, "/commands")
|
||||
command_stats_blueprint: Blueprint = Blueprint("command_stats", __name__, url_prefix="/commands")
|
||||
|
||||
|
||||
@command_stats_blueprint.route("/", methods=["GET"])
|
||||
def get_commands():
|
||||
return {}, 200
|
||||
return {"usage": query_command_stats()}, 200
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue