From 495e39bb5ad213ed344a05843edf42507f8204ff Mon Sep 17 00:00:00 2001 From: xingc Date: Mon, 28 Apr 2025 18:23:55 +0800 Subject: [PATCH] =?UTF-8?q?fix(card):=20=E5=8D=A1=E7=89=87=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E6=9D=A1=E4=BB=B6=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/routers/card/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/routers/card/routes.py b/core/routers/card/routes.py index bf67a85..052cdc4 100644 --- a/core/routers/card/routes.py +++ b/core/routers/card/routes.py @@ -315,7 +315,7 @@ async def delete_card( db_crud = CRUD(db_session, Card) await db_crud.delete( filters={ - 'card_id__in': payload.card_ids, + 'id__in': payload.card_ids, 'user_id': login_user.user_id, 'source': 'OTHER' }