forked from vieter-v/vieter
feat: adding target returns id of added entry
This commit is contained in:
parent
3e0a2584fa
commit
7b59277931
4 changed files with 11 additions and 7 deletions
|
|
@ -206,7 +206,7 @@ fn add(conf Config, t &NewTarget) ? {
|
|||
c := client.new(conf.address, conf.api_key)
|
||||
res := c.add_target(t)?
|
||||
|
||||
println(res.message)
|
||||
println("Target added with id $res.data")
|
||||
}
|
||||
|
||||
// remove removes a repository from the server's list.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue