diff --git a/app/api/v1/tryon.py b/app/api/v1/tryon.py index 3abc2df..ffe8a85 100644 --- a/app/api/v1/tryon.py +++ b/app/api/v1/tryon.py @@ -126,7 +126,7 @@ async def check_tryon_status( if completion.get("status") == "SUCCEEDED": completion_url = completion.get("image_url") - url = await cos_service.upload_file_from_url(completion_url, "tryon", tryon_history.id) + url = await cos_service.upload_file_from_url(completion_url) tryon_history.status = TryonStatus.COMPLETED tryon_history.completion_url = url await db.commit()