Describe the bug
When updating a game pass icon, Mantle errors with a 404 Not Found.
To Reproduce
Steps to reproduce the behavior:
- Deploy a game pass with initial icon.
- Change the icon file and deploy again.
- Mantle errors with 404 Not Found.
Expected behavior
The icon is correctly updated.
Environment (please complete the following information):
- OS: Windows
- Mantle Version 0.11.1
Additional context
It looks like this is because of the usage of POST https://publish.roblox.com/v1/game-passes/:gamePassId/icon
, which does not seem to exist (tested this with Postman).
https://github.com/blake-mealey/mantle/blob/0adfb6333ed5f0f8e96260d73cee99d09c07ef70/rbx_mantle/src/roblox_api.rs#L1536
When manually updating the game pass icon and checking the browser logs, only one request is made and this is to https://www.roblox.com/game-pass/update
, same as in update_game_pass
:
https://github.com/blake-mealey/mantle/blob/0adfb6333ed5f0f8e96260d73cee99d09c07ef70/rbx_mantle/src/roblox_api.rs#L1514
When the game pass icon is changed, this request is encoded as gzip and includes the new image.
bug