forked from Ailur/burgernotes-server
Updated listusers api
This commit is contained in:
parent
54d440d9ab
commit
74049f4ee8
2
main
2
main
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue