Add trader id to getItemPrices()
This commit is contained in:
parent
e2dd677b40
commit
18a5c49812
@ -202,6 +202,7 @@ export class DataCallbacks
|
|||||||
sessionID: string,
|
sessionID: string,
|
||||||
): IGetBodyResponseData<IGetItemPricesResponse>
|
): IGetBodyResponseData<IGetItemPricesResponse>
|
||||||
{
|
{
|
||||||
|
const traderId = url.replace("/client/items/prices/", "");
|
||||||
const handbookPrices = this.ragfairController.getStaticPrices();
|
const handbookPrices = this.ragfairController.getStaticPrices();
|
||||||
const response: IGetItemPricesResponse = {
|
const response: IGetItemPricesResponse = {
|
||||||
supplyNextTime: 1672236024, // todo: get trader refresh time?
|
supplyNextTime: 1672236024, // todo: get trader refresh time?
|
||||||
@ -214,6 +215,7 @@ export class DataCallbacks
|
|||||||
/* eslint-enable @typescript-eslint/naming-convention */
|
/* eslint-enable @typescript-eslint/naming-convention */
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
return this.httpResponse.getBody(response);
|
return this.httpResponse.getBody(response);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user