From 34e4762ad48f162e6da6e41dc7b3f83cc53befbb Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Wed, 20 Aug 2025 18:33:39 -0500 Subject: [PATCH] Fixed compiler warning --- KfChatDotNetBot/Services/TwitchGraphQl.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KfChatDotNetBot/Services/TwitchGraphQl.cs b/KfChatDotNetBot/Services/TwitchGraphQl.cs index 6cde329..9615c7a 100644 --- a/KfChatDotNetBot/Services/TwitchGraphQl.cs +++ b/KfChatDotNetBot/Services/TwitchGraphQl.cs @@ -61,7 +61,7 @@ public class TwitchGraphQl(string? proxy = null, CancellationToken cancellationT await using var db = new ApplicationDbContext(); await db.TwitchViewCounts.AddAsync(new TwitchViewCountDbModel { - Topic = stream.Id.ToString()!, + Topic = stream.Id!, Viewers = stream.ViewerCount!.Value, Time = DateTimeOffset.UtcNow, ServerTime = 0