From 004366854e306836d7b26fe9655aa709a88910d8 Mon Sep 17 00:00:00 2001 From: filoxenace Date: Sat, 7 Mar 2026 13:42:23 -0500 Subject: [PATCH] feat: use publish_collectible before onsale_asset in upload flow --- src/main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index 96ad9d4..23dbae0 100644 --- a/src/main.py +++ b/src/main.py @@ -202,7 +202,9 @@ async def reupload_asset(asset_id: int, _: str = Depends(verify_api_key)): ) await asyncio.sleep(5) - collectible_item_id = await roblox_onsale.get_collectible_item_id(new_asset_id) + collectible_item_id = await roblox_onsale.publish_collectible( + new_asset_id, int(TARGET), asset.name, new_description + ) try: await roblox_onsale.onsale_asset(collectible_item_id) except RateLimitError: