diff --git a/Lieb/Data/PollService.cs b/Lieb/Data/PollService.cs index a5bae8f..9b7812a 100644 --- a/Lieb/Data/PollService.cs +++ b/Lieb/Data/PollService.cs @@ -145,6 +145,7 @@ namespace Lieb.Data using var context = _contextFactory.CreateDbContext(); Poll? poll = context.Polls .Include(p => p.Answers) + .Include(p => p.Options) .FirstOrDefault(p => p.PollId == pollId && !p.Answers.Where(a => a.UserId == userId).Any()); if (poll == null) return;