forked from vieter-v/vieter
feat(api): add search query to targets
This commit is contained in:
parent
60d5fb77e0
commit
f8f611f5c5
5 changed files with 58 additions and 12 deletions
|
|
@ -81,3 +81,6 @@ fn (mut app App) v1_patch_target(id int) web.Result {
|
|||
|
||||
return app.json(.ok, new_data_response(target))
|
||||
}
|
||||
|
||||
['/api/v1/targets/search'; auth; get; markused]
|
||||
fn (mut app App) v1_search_targets()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue