Skip to content

Commit

Permalink
Fix query string generation
Browse files Browse the repository at this point in the history
  • Loading branch information
lcodes authored and Centril committed Oct 31, 2024
1 parent 8e93475 commit bffa8cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WebSocket.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public WebSocket(ConnectOptions options)

public async Task Connect(string? auth, string host, string nameOrAddress, Address clientAddress, Compression compression)
{
var url = new Uri($"{host}/database/subscribe/{nameOrAddress}?client_address={clientAddress}&compression={nameof(compression)}");
var url = new Uri($"{host}/database/subscribe/{nameOrAddress}?client_address={clientAddress}&compression={compression}");
Ws.Options.AddSubProtocol(_options.Protocol);

var source = new CancellationTokenSource(10000);
Expand Down

0 comments on commit bffa8cf

Please sign in to comment.