Fixed a lot of compiler warnings. Fixed 7tv connection.
This commit is contained in:
@@ -29,8 +29,14 @@ namespace TwitchChatTTS.Hermes.Socket.Requests
|
||||
_logger = logger;
|
||||
}
|
||||
|
||||
public void Acknowledge(string requestId, string json, IDictionary<string, object>? requestData)
|
||||
public void Acknowledge(string requestId, string? json, IDictionary<string, object>? requestData)
|
||||
{
|
||||
if (json == null)
|
||||
{
|
||||
_logger.Error("Connections JSON is null.");
|
||||
return;
|
||||
}
|
||||
|
||||
var connections = JsonSerializer.Deserialize<IEnumerable<Connection>>(json, _options);
|
||||
if (connections == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user