forked from vieter-v/vieter
chore: please the great lint
This commit is contained in:
parent
2cc3e8404e
commit
d7a04c6ebf
4 changed files with 9 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue