Fixed a lot of compiler warnings. Fixed 7tv connection.
This commit is contained in:
@@ -19,8 +19,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.Warning($"Redeemable action JSON data received is null.");
|
||||
return;
|
||||
}
|
||||
|
||||
var action = JsonSerializer.Deserialize<RedeemableAction>(json, _options);
|
||||
if (action == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user