Skip to content

Commit

Permalink
deploy: 1e80b2d
Browse files Browse the repository at this point in the history
  • Loading branch information
Neztore committed Feb 14, 2024
1 parent cb509c5 commit e4f276c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib_games_addDeveloperProduct.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ <h1>lib/games/addDeveloperProduct.js</h1>
}).then((res) => {
if (res.Success &amp;&amp; res.Message === 'Name available') {
return http({
url: `//apis.roblox.com/developer-products/v1/universes/${universeId}/developerproducts?name=${name}&amp;description=${description}&amp;priceInRobux=${priceInRobux}`,
url: '//apis.roblox.com/developer-products/v1/universes/' + universeId + '/developerproducts?name=' + name + '&amp;description=' + description + '&amp;priceInRobux=' + priceInRobux,
options: {
method: 'POST',
jar: jar,
Expand All @@ -195,7 +195,7 @@ <h1>lib/games/addDeveloperProduct.js</h1>
productId: typeof res.body === 'object' ? res.body.id : JSON.parse(res.body).id
}
} else {
throw new Error(`Create product failed, ${res.statusCode} ${res.statusMessage}`)
throw new Error('Create product failed, ' + res.statusCode + ' ' + res.statusMessage + '')
}
})
} else {
Expand Down

0 comments on commit e4f276c

Please sign in to comment.