Fix typo
This commit is contained in:
parent
41d491dd16
commit
4efb75ea58
@ -80,8 +80,8 @@ export class TradeHelper
|
|||||||
{
|
{
|
||||||
const allOffers = this.ragfairServer.getOffers();
|
const allOffers = this.ragfairServer.getOffers();
|
||||||
// We store ragfair offerid in buyRequestData.item_id
|
// We store ragfair offerid in buyRequestData.item_id
|
||||||
const offersWithItem = allOffers.find((x) => x._id === buyRequestData.item_id);
|
const offerWithItem = allOffers.find((x) => x._id === buyRequestData.item_id);
|
||||||
itemPurchased = offersWithItem.items[0];
|
itemPurchased = offerWithItem.items[0];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -129,10 +129,10 @@ export class TradeHelper
|
|||||||
if (buyRequestData.tid.toLocaleLowerCase() === "ragfair")
|
if (buyRequestData.tid.toLocaleLowerCase() === "ragfair")
|
||||||
{
|
{
|
||||||
const allOffers = this.ragfairServer.getOffers();
|
const allOffers = this.ragfairServer.getOffers();
|
||||||
const offersWithItem = allOffers.find((x) => x._id === buyRequestData.item_id);
|
const offerWithItem = allOffers.find((x) => x._id === buyRequestData.item_id);
|
||||||
|
|
||||||
const request: IAddItemDirectRequest = {
|
const request: IAddItemDirectRequest = {
|
||||||
itemWithModsToAdd: offersWithItem.items,
|
itemWithModsToAdd: offerWithItem.items,
|
||||||
foundInRaid: true,
|
foundInRaid: true,
|
||||||
callback: callback,
|
callback: callback,
|
||||||
useSortingTable: true
|
useSortingTable: true
|
||||||
|
Loading…
Reference in New Issue
Block a user