Skip to content

Commit

Permalink
Fix query string generation
Browse files Browse the repository at this point in the history
  • Loading branch information
lcodes committed Oct 30, 2024
1 parent e4911fe commit 67ab96f
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 @@ -52,7 +52,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 67ab96f

Please sign in to comment.