TimVN / opskins-api

Node module used to interact with the OPSkins API
2 stars 1 forks source link

Edit price is calling wrong api endpoint #2

Closed ha1331 closed 6 years ago

ha1331 commented 6 years ago

at modules/sales.js:

EditPrice: (saleId, price) => {
return opRequest.make('ISales/ListItems/v1', { saleid: saleId, price: price }, 'post');
}

I think the url should be /ISales/EditPrice/v1

TimVN commented 6 years ago

You're correct. Will fix ASAP, thanks!