Skip to content

Commit

Permalink
changed to use another endpoint (#710)
Browse files Browse the repository at this point in the history
Co-authored-by: Josh <[email protected]>
  • Loading branch information
TomerJ and Neztore authored Aug 7, 2023
1 parent 254e01a commit d3a9c83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/games/addDeveloperProduct.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const nextFunction = (jar, token, universeId, name, priceInRobux, description) =
}).then((res) => {
if (res.Success && res.Message === 'Name available') {
return http({
url: `//develop.roblox.com/v1/universes/${universeId}/developerproducts?name=${name}&description=${description}&priceInRobux=${priceInRobux}`,
url: `//apis.roblox.com/developer-products/v1/universes/${universeId}/developerproducts?name=${name}&description=${description}&priceInRobux=${priceInRobux}`,
options: {
method: 'POST',
jar: jar,
Expand All @@ -37,6 +37,7 @@ const nextFunction = (jar, token, universeId, name, priceInRobux, description) =
resolveWithFullResponse: true
}
}).then((res) => {
console.log(res)
if (res.statusCode === 200) {
return {
universeId,
Expand Down

0 comments on commit d3a9c83

Please sign in to comment.