Skip to content

Commit

Permalink
fix: use apiHost value to create http client in event pipeline (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfurak authored Dec 1, 2023
1 parent 3fa344f commit 16bf210
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 @@ -47,7 +47,7 @@ public EventPipeline(

_writeChannel = new Channel<RawEvent>();
_uploadChannel = new Channel<string>();
_httpClient = analytics.Configuration.HttpClientProvider.CreateHTTPClient(apiKey);
_httpClient = analytics.Configuration.HttpClientProvider.CreateHTTPClient(apiKey, apiHost: apiHost);
_httpClient.AnalyticsRef = analytics;
_storage = analytics.Storage;
Running = false;
Expand Down
2 changes: 1 addition & 1 deletion Analytics-CSharp/Segment/Analytics/Version.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ namespace Segment.Analytics
{
internal static class Version
{
internal const string SegmentVersion = "2.3.1";
internal const string SegmentVersion = "2.3.2";
}
}

0 comments on commit 16bf210

Please sign in to comment.