Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/Databento.Client/Live/LiveClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ public sealed class LiveClient : ILiveClient
private readonly bool _sendTsOut;
private readonly VersionUpgradePolicy _upgradePolicy;
private readonly TimeSpan _heartbeatInterval;
private readonly string _apiKey;
private readonly ILogger<ILiveClient> _logger;
private readonly ExceptionCallback? _exceptionHandler;
private readonly ResilienceOptions _resilienceOptions;
Expand Down Expand Up @@ -131,7 +130,6 @@ internal LiveClient(
if (string.IsNullOrEmpty(apiKey))
throw new ArgumentException("API key cannot be null or empty", nameof(apiKey));

_apiKey = apiKey;
_defaultDataset = defaultDataset;
_sendTsOut = sendTsOut;
_upgradePolicy = upgradePolicy;
Expand Down
2 changes: 0 additions & 2 deletions src/Databento.Client/Reference/ReferenceClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ namespace Databento.Client.Reference;
public sealed class ReferenceClient : IReferenceClient
{
private readonly HttpClient _httpClient;
private readonly string _apiKey;
private readonly string _baseUrl;
private readonly ILogger<IReferenceClient> _logger;
private bool _disposed;
Expand Down Expand Up @@ -83,7 +82,6 @@ internal ReferenceClient(
if (string.IsNullOrEmpty(apiKey))
throw new ArgumentException("API key cannot be null or empty", nameof(apiKey));

_apiKey = apiKey;
_logger = logger ?? NullLogger<IReferenceClient>.Instance;

// Map gateway to base URL
Expand Down