From 7a0b5d8a706247bd983256349c4cc9fb065ca457 Mon Sep 17 00:00:00 2001 From: gotjosh Date: Mon, 4 Jul 2022 17:06:06 +0100 Subject: [PATCH] Use String() instead of Name() --- api/v2/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v2/api.go b/api/v2/api.go index 2ca907bd..91b26d4c 100644 --- a/api/v2/api.go +++ b/api/v2/api.go @@ -217,7 +217,7 @@ func (api *API) getReceiversHandler(params receiver_ops.GetReceiversParams) midd for _, integration := range r.Integrations() { notify, duration, err := integration.GetReport() - iname := integration.Name() + iname := integration.String() integrations = append(integrations, &open_api_models.Integration{ Name: &iname, SendResolve: integration.SendResolved(),