Updated listusers api

This commit is contained in:
Tracker-Friendly 2024-04-02 11:22:57 +01:00
parent 54d440d9ab
commit 74049f4ee8
1 changed files with 1 additions and 1 deletions

2
main
View File

@ -507,7 +507,7 @@ async def apisessionsremove():
return {}, 422 return {}, 422
@app.route("/listusers/<secretkey>", methods=("GET", "POST")) @app.route("/api/listusers", methods=("GET", "POST"))
async def listusers(): async def listusers():
if request.method == "POST": if request.method == "POST":
data = await request.get_json() data = await request.get_json()