Skip to content

Commit

Permalink
refactor: remove unnecessary dependency for Vonage.Server
Browse files Browse the repository at this point in the history
  • Loading branch information
Tr00d committed Nov 24, 2023
1 parent 5f08d58 commit ec921cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
using System.Net.Http;
using Microsoft.AspNetCore.WebUtilities;
using Vonage.Common;
using Vonage.Common.Client;
using Vonage.Common.Client.Builders;
using Vonage.Common.Monads;
Expand Down Expand Up @@ -49,7 +49,7 @@ public HttpRequestMessage BuildRequestMessage() =>

/// <inheritdoc />
public string GetEndpointPath() =>
QueryHelpers.AddQueryString($"/v2/project/{this.ApplicationId}/broadcast", this.GetQueryStringParameters());
UriHelpers.BuildUri($"/v2/project/{this.ApplicationId}/broadcast", this.GetQueryStringParameters());

private Dictionary<string, string> GetQueryStringParameters()
{
Expand Down
1 change: 0 additions & 1 deletion Vonage.Server/Vonage.Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
<DelaySign>false</DelaySign>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Vonage.Common.Test\Vonage.Common.Test.csproj"/>
<ProjectReference Include="..\Vonage.Common\Vonage.Common.csproj" PrivateAssets="All"/>
<ProjectReference Include="..\Vonage\Vonage.csproj"/>
</ItemGroup>
Expand Down

0 comments on commit ec921cb

Please sign in to comment.