Skip to content

Commit

Permalink
Fix AppInsights Instrumentation Key handling
Browse files Browse the repository at this point in the history
  • Loading branch information
epresi committed Aug 6, 2020
1 parent 90caf4a commit e0c455f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public HttpClientAnalyticsTransmitterSink(IAppInsightsEventSerializer appInsight
_httpClient = httpClientWrapper.HttpClient;
}

public async Task<IResult> TransmitEvent(IAnalyticsEvent analyticsEvent, string instrumentationKey = AppInsightsInstrumentationKey.Key)
public async Task<IResult> TransmitEvent(IAnalyticsEvent analyticsEvent, string instrumentationKey)
{
try
{
Expand Down
2 changes: 1 addition & 1 deletion TechTalk.SpecFlow/Analytics/IAnalyticsTransmitterSink.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ namespace TechTalk.SpecFlow.Analytics
{
public interface IAnalyticsTransmitterSink
{
Task<IResult> TransmitEvent(IAnalyticsEvent analyticsEvent, string instrumentationKey = "");
Task<IResult> TransmitEvent(IAnalyticsEvent analyticsEvent, string instrumentationKey = AppInsightsInstrumentationKey.Key);
}
}

0 comments on commit e0c455f

Please sign in to comment.