Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(rbx_api): replace the deprecated place creation API with the replacement API #220

Merged
merged 4 commits into from
Jul 10, 2024

Conversation

Etheroit
Copy link
Contributor

Attempt to fix #219

Copy link

vercel bot commented Jul 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mantle-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 10, 2024 7:39pm

Copy link
Owner

@blake-mealey blake-mealey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested this locally and got an error that the expected PlaceId field was not available in the response. Based on the solution from Roblox, the response should contain a placeId field.

The fix for this is to replace rename_all="PascalCase" with rename_all="camelCase" in the CreatePlaceResponse struct definition.

@Etheroit
Copy link
Contributor Author

@blake-mealey Thanks for the feedback - greatly appreciated! I haven't noticed that one and I thought it also used to be camel-cased placeId. I've pushed a fix, hopefully it should be alright now. Apologies for the hassle.

@blake-mealey blake-mealey changed the title Replace the place creation API endpoint fix(rbx_api): replace the deprecated place creation API with the replacement API Jul 10, 2024
@blake-mealey
Copy link
Owner

Looks great, thanks for the fix!

@blake-mealey blake-mealey merged commit 9a7910c into blake-mealey:main Jul 10, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't upload secondary place
2 participants