feat(api): add search query to targets
This commit is contained in:
parent
8a0214babe
commit
4eee0e069b
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()
|
||||
|
|
|
|||
Reference in a new issue