mirror of
https://github.com/YunoHost/yunorunner.git
synced 2024-09-03 20:05:52 +02:00
[mod] change ciclic app-list ordering
This commit is contained in:
parent
8797629601
commit
9cd243311d
1 changed files with 1 additions and 1 deletions
2
run.py
2
run.py
|
@ -622,7 +622,7 @@ async def api_list_job(request):
|
||||||
async def api_list_app(request):
|
async def api_list_app(request):
|
||||||
query = Repo.select()
|
query = Repo.select()
|
||||||
|
|
||||||
return response.json([model_to_dict(x) for x in query.order_by(-Repo.name)])
|
return response.json([model_to_dict(x) for x in query.order_by(Repo.name)])
|
||||||
|
|
||||||
|
|
||||||
@app.route("/api/job/<job_id:int>", methods=['DELETE'])
|
@app.route("/api/job/<job_id:int>", methods=['DELETE'])
|
||||||
|
|
Loading…
Add table
Reference in a new issue