🐛 Fix sphere rewind InvalidOperationException

This commit is contained in:
2025-12-25 23:31:29 +08:00
parent 1c6b324b0d
commit 4e9c5733d1

View File

@@ -34,7 +34,7 @@ public class SphereRewindServiceGrpc(
.Select(g => new { PublisherId = g.Key, ReactionCount = g.Count() }) .Select(g => new { PublisherId = g.Key, ReactionCount = g.Count() })
.FirstOrDefaultAsync(); .FirstOrDefaultAsync();
var mostLovedPublisher = mostLovedPublisherClue is not null var mostLovedPublisher = mostLovedPublisherClue is not null
? ps.GetPublisherLoaded(mostLovedPublisherClue.PublisherId) ? await ps.GetPublisherLoaded(mostLovedPublisherClue.PublisherId)
: null; : null;
// Creator data // Creator data