This commit is contained in:
aaron 2025-04-11 15:51:17 +08:00
parent 01d63c1cf2
commit 9c4c393426

View File

@ -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()