From d7a39ab574875e99b3979f7068e9913d618ba611 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Tue, 5 Aug 2025 18:06:26 +0800 Subject: [PATCH] :bug: Fix poll didn't include questions when listing --- DysonNetwork.Sphere/Poll/PollController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/DysonNetwork.Sphere/Poll/PollController.cs b/DysonNetwork.Sphere/Poll/PollController.cs index 1ef9af3..3a5a697 100644 --- a/DysonNetwork.Sphere/Poll/PollController.cs +++ b/DysonNetwork.Sphere/Poll/PollController.cs @@ -94,6 +94,7 @@ public class PollController(AppDatabase db, PollService polls, PublisherService var polls = await query .Skip(offset) .Take(take) + .Include(p => p.Questions) .ToListAsync(); return Ok(polls); }