mirror of
https://github.com/YunoHost/yunorunner.git
synced 2024-09-03 20:05:52 +02:00
[fix] add created time on API job creation
This commit is contained in:
parent
680ad46d27
commit
5e9a675921
1 changed files with 1 additions and 0 deletions
1
run.py
1
run.py
|
@ -560,6 +560,7 @@ async def api_new_job(request):
|
||||||
url_or_path=request.json["url_or_path"],
|
url_or_path=request.json["url_or_path"],
|
||||||
type="stable",
|
type="stable",
|
||||||
debian_version="stretch",
|
debian_version="stretch",
|
||||||
|
created_time=datetime.now(),
|
||||||
)
|
)
|
||||||
|
|
||||||
api_logger.info(f"Request to add new job '{job.name}' [{job.id}]")
|
api_logger.info(f"Request to add new job '{job.name}' [{job.id}]")
|
||||||
|
|
Loading…
Add table
Reference in a new issue