Improve: provider api
This commit is contained in:
@ -142,6 +142,7 @@ func (p *Proxy) MarshalJSON() ([]byte, error) {
|
||||
mapping := map[string]interface{}{}
|
||||
json.Unmarshal(inner, &mapping)
|
||||
mapping["history"] = p.DelayHistory()
|
||||
mapping["name"] = p.Name()
|
||||
return json.Marshal(mapping)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user