From 42544d7485313c58bbe50f8c59843ae09daa7906 Mon Sep 17 00:00:00 2001 From: duxingchen Date: Wed, 12 Aug 2026 14:28:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20get=5Fwip=5Ftasks=20=E8=A7=A3=E5=8C=85?= =?UTF-8?q?=E9=94=99=E8=AF=AF=20=E2=80=94=20=E6=96=B0=E5=A2=9E=20external?= =?UTF-8?q?=5Fserial=20=E5=90=8E=20rows=20=E5=8F=983=E5=88=97=E4=BD=86?= =?UTF-8?q?=E8=A7=A3=E5=8C=85=E4=BB=8D=E6=98=AF2=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/services/dashboard_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/services/dashboard_service.py b/backend/app/services/dashboard_service.py index a06d7ae..703bfa4 100644 --- a/backend/app/services/dashboard_service.py +++ b/backend/app/services/dashboard_service.py @@ -140,7 +140,7 @@ async def get_wip_tasks(db: AsyncSession, limit: int = 20) -> list[WipTask]: result = await db.execute(stmt) rows = result.all() - raw_ids = list({t.assignee_id for t, _ in rows if t.assignee_id}) + raw_ids = list({t.assignee_id for t, *_ in rows if t.assignee_id}) name_map: dict[str, str] = {} if raw_ids: from app.services.mom_cache import get_display_names