feat: use publish_collectible before onsale_asset in upload flow

This commit is contained in:
2026-03-07 13:42:23 -05:00
parent 9ba1f7e7f0
commit 004366854e
+3 -1
View File
@@ -202,7 +202,9 @@ async def reupload_asset(asset_id: int, _: str = Depends(verify_api_key)):
) )
await asyncio.sleep(5) 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: try:
await roblox_onsale.onsale_asset(collectible_item_id) await roblox_onsale.onsale_asset(collectible_item_id)
except RateLimitError: except RateLimitError: