Skip to content

Commit

Permalink
Update endpoint for deleteFromInventory
Browse files Browse the repository at this point in the history
  • Loading branch information
Regalijan authored Dec 3, 2024
1 parent 897833d commit c462e05
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/asset/deleteFromInventory.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@ exports.optional = ['jar']
function deleteFromInventory (jar, assetId, xcsrf) {
return new Promise((resolve, reject) => {
const httpOpt = {
url: 'https://www.roblox.com/asset/delete-from-inventory',
url: `https://inventory.roblox.com/v2/inventory/asset/${assetId}`,
options: {
method: 'POST',
method: 'DELETE',
resolveWithFullResponse: true,
body: `assetId=${assetId}`,
jar,
headers: {
'X-CSRF-TOKEN': xcsrf,
Expand Down

0 comments on commit c462e05

Please sign in to comment.