mirror of
https://github.com/YunoHost/yunorunner.git
synced 2024-09-03 20:05:52 +02:00
[mod] remove unused route
This commit is contained in:
parent
dcab04771f
commit
fb1ebdafec
1 changed files with 0 additions and 5 deletions
5
run.py
5
run.py
|
@ -226,11 +226,6 @@ async def job_ws(request, websocket, job_id):
|
|||
await websocket.send(f"echo {data}")
|
||||
|
||||
|
||||
@app.route("/api/jobs")
|
||||
async def api_jobs(request):
|
||||
return response.json(map(model_to_dict, Job.select()))
|
||||
|
||||
|
||||
@app.route("/api/jobs", methods=['POST'])
|
||||
async def api_new_job(request):
|
||||
# TODO auth or some kind
|
||||
|
|
Loading…
Add table
Reference in a new issue