chore: please the great lint

This commit is contained in:
Jef Roosens 2022-12-14 16:03:57 +01:00
parent 2cc3e8404e
commit d7a04c6ebf
Signed by untrusted user: Jef Roosens
GPG key ID: B75D4F293C7052DB
4 changed files with 9 additions and 2 deletions

View file

@ -20,6 +20,7 @@ fn (mut app App) v1_poll_job_queue() web.Result {
return app.json(.ok, new_data_response(out))
}
// v1_queue_job allows queueing a new one-time build job for the given target.
['/api/v1/jobs/queue'; auth; post]
fn (mut app App) v1_queue_job() web.Result {
target_id := app.query['target'] or {