From d5022e589251feb24cfadba4e11d5772428b7d73 Mon Sep 17 00:00:00 2001 From: aaron <> Date: Wed, 16 Apr 2025 13:01:59 +0800 Subject: [PATCH] update --- app/api/v1/tryon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/v1/tryon.py b/app/api/v1/tryon.py index 87ff27a..8884efb 100644 --- a/app/api/v1/tryon.py +++ b/app/api/v1/tryon.py @@ -77,7 +77,7 @@ async def get_tryon_histories( """ 获取试穿历史 """ - histories = await db.execute(select(TryonHistory).where(TryonHistory.user_id == current_user.id).order_by(TryonHistory.create_time.desc()).options(selectinload(TryonHistory.person_image))) + histories = await db.execute(select(TryonHistory).where(TryonHistory.user_id == current_user.id).order_by(TryonHistory.create_time.desc())) tryon_histories = histories.scalars().all() result = []