Skip to content

Commit

Permalink
fix: uri builder part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
DariuszGarbarz committed Aug 8, 2024
1 parent a3e038a commit c7090ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BleBoxNetSdk/Services/ApiHttpClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ private Uri BuildUri(Uri baseUri, string endpoint)
{
var builder = new UriBuilder(baseUri);

builder.Path += builder.Path.TrimEnd('/') + endpoint;
builder.Path = builder.Path.TrimEnd('/') + endpoint;

return builder.Uri;
}
Expand Down

0 comments on commit c7090ea

Please sign in to comment.