diff --git a/services/integration/api/integrations/api.go b/services/integration/api/integrations/api.go index 5863ea42a..532937a02 100644 --- a/services/integration/api/integrations/api.go +++ b/services/integration/api/integrations/api.go @@ -891,12 +891,13 @@ func (h API) ListIntegrationTypes(c echo.Context) error { } } items = append(items, models.ListIntegrationTypesItem{ - ID: integrationType.ID, - Name: integrationType.Name, - Title: integrationType.Label, - Logo: integrationType.Logo, - State: state, - Count: count, + ID: integrationType.ID, + Name: integrationType.Name, + Title: integrationType.Label, + PlatformName: integrationType.IntegrationType, + Logo: integrationType.Logo, + State: state, + Count: count, }) } diff --git a/services/integration/api/models/integration_type.go b/services/integration/api/models/integration_type.go index ecac6896b..584584c7f 100644 --- a/services/integration/api/models/integration_type.go +++ b/services/integration/api/models/integration_type.go @@ -19,12 +19,13 @@ type IntegrationTypeIntegrationCount struct { } type ListIntegrationTypesItem struct { - ID int64 `json:"id"` - Name string `json:"name"` - Title string `json:"title"` - Logo string `json:"logo"` - State string `json:"state"` - Count IntegrationTypeIntegrationCount `json:"count"` + ID int64 `json:"id"` + Name string `json:"name"` + PlatformName string `json:"platform_name"` + Title string `json:"title"` + Logo string `json:"logo"` + State string `json:"state"` + Count IntegrationTypeIntegrationCount `json:"count"` } type ListIntegrationTypesResponse struct {