Skip to content

Commit 7a0b5d8

Browse files
committed
Use String() instead of Name()
1 parent 964bcb9 commit 7a0b5d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/v2/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ func (api *API) getReceiversHandler(params receiver_ops.GetReceiversParams) midd
217217

218218
for _, integration := range r.Integrations() {
219219
notify, duration, err := integration.GetReport()
220-
iname := integration.Name()
220+
iname := integration.String()
221221
integrations = append(integrations, &open_api_models.Integration{
222222
Name: &iname,
223223
SendResolve: integration.SendResolved(),

0 commit comments

Comments
 (0)