Fixed certain redemptions

This commit is contained in:
Tom
2024-11-15 02:29:23 +00:00
parent 0932c1c38e
commit 48dd6858a1
2 changed files with 2 additions and 3 deletions

View File

@ -1,3 +1,4 @@
using System.Text.Json;
using CommonSocketLibrary.Abstract;
using CommonSocketLibrary.Common;
using HermesSocketLibrary.Socket.Data;
@ -35,7 +36,7 @@ namespace TwitchChatTTS.Hermes.Socket.Handlers
_logger.Debug($"Received a Hermes request message [type: {message.Request.Type}][data: {string.Join(',', message.Request.Data?.Select(entry => entry.Key + '=' + entry.Value) ?? Array.Empty<string>())}]");
var json = message.Data?.ToString();
if (message.Request.Type == null || json == null)
if (message.Request.Type == null)
{
return;
}