Fixed compiler warning

This commit is contained in:
barelyprofessional
2025-08-20 18:33:39 -05:00
parent 78fcac212d
commit 34e4762ad4

View File

@@ -61,7 +61,7 @@ public class TwitchGraphQl(string? proxy = null, CancellationToken cancellationT
await using var db = new ApplicationDbContext(); await using var db = new ApplicationDbContext();
await db.TwitchViewCounts.AddAsync(new TwitchViewCountDbModel await db.TwitchViewCounts.AddAsync(new TwitchViewCountDbModel
{ {
Topic = stream.Id.ToString()!, Topic = stream.Id!,
Viewers = stream.ViewerCount!.Value, Viewers = stream.ViewerCount!.Value,
Time = DateTimeOffset.UtcNow, Time = DateTimeOffset.UtcNow,
ServerTime = 0 ServerTime = 0