Copy and paste error

This commit is contained in:
barelyprofessional
2025-08-24 03:07:22 -05:00
parent 2b07a07ac5
commit 23be73d524

View File

@@ -74,7 +74,7 @@ public class Owncast(ChatBot kfChatBot) : IDisposable
var content = await response.Content.ReadFromJsonAsync<JsonElement>(cancellationToken: ct); var content = await response.Content.ReadFromJsonAsync<JsonElement>(cancellationToken: ct);
logger.Debug("Owncast endpoint returned the following JSON"); logger.Debug("Owncast endpoint returned the following JSON");
logger.Debug(content.GetRawText); logger.Debug(content.GetRawText);
return content.GetProperty("data").Deserialize<OwncastStatusModel>() ?? throw new InvalidOperationException(); return content.Deserialize<OwncastStatusModel>() ?? throw new InvalidOperationException();
} }
public void Dispose() public void Dispose()