Use String() instead of Name()
This commit is contained in:
parent
964bcb92b6
commit
7a0b5d8a70
|
@ -217,7 +217,7 @@ func (api *API) getReceiversHandler(params receiver_ops.GetReceiversParams) midd
|
||||||
|
|
||||||
for _, integration := range r.Integrations() {
|
for _, integration := range r.Integrations() {
|
||||||
notify, duration, err := integration.GetReport()
|
notify, duration, err := integration.GetReport()
|
||||||
iname := integration.Name()
|
iname := integration.String()
|
||||||
integrations = append(integrations, &open_api_models.Integration{
|
integrations = append(integrations, &open_api_models.Integration{
|
||||||
Name: &iname,
|
Name: &iname,
|
||||||
SendResolve: integration.SendResolved(),
|
SendResolve: integration.SendResolved(),
|
||||||
|
|
Loading…
Reference in New Issue