From 23be73d5245f0dfe8b5ffce1e01760728cce47d0 Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Sun, 24 Aug 2025 03:07:22 -0500 Subject: [PATCH] Copy and paste error --- KfChatDotNetBot/Services/Owncast.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KfChatDotNetBot/Services/Owncast.cs b/KfChatDotNetBot/Services/Owncast.cs index ab65ffa..491d98a 100644 --- a/KfChatDotNetBot/Services/Owncast.cs +++ b/KfChatDotNetBot/Services/Owncast.cs @@ -74,7 +74,7 @@ public class Owncast(ChatBot kfChatBot) : IDisposable var content = await response.Content.ReadFromJsonAsync(cancellationToken: ct); logger.Debug("Owncast endpoint returned the following JSON"); logger.Debug(content.GetRawText); - return content.GetProperty("data").Deserialize() ?? throw new InvalidOperationException(); + return content.Deserialize() ?? throw new InvalidOperationException(); } public void Dispose()