diff --git a/internal/ldclient/flag_links.go b/internal/ldclient/flag_links.go index 575ef501..5ab065cf 100644 --- a/internal/ldclient/flag_links.go +++ b/internal/ldclient/flag_links.go @@ -125,20 +125,19 @@ func makeFlagLinkRep(event *github.PullRequestEvent, flagKey, message string) *l timestamp = &m } - // TODO enable integration once capability is available - // integration := "github" + integration := "github" id := strconv.FormatInt(*pr.ID, 10) // key must be unique key := fmt.Sprintf("github-pr-%s-%s", id, flagKey) return &ldapi.FlagLinkPost{ - DeepLink: pr.HTMLURL, - Key: &key, - // IntegrationKey: &integration, - Timestamp: timestamp, - Title: getLinkTitle(event), - Description: pr.Body, - Metadata: &metadata, + DeepLink: pr.HTMLURL, + Key: &key, + IntegrationKey: &integration, + Timestamp: timestamp, + Title: getLinkTitle(event), + Description: pr.Body, + Metadata: &metadata, } } diff --git a/testdata/test b/testdata/test index 37e49aa8..c8a7850d 100644 --- a/testdata/test +++ b/testdata/test @@ -5,3 +5,4 @@ show-widgets oldPricingBanner show_widgets oldPricingBanner +mobile-app-promo-ios