fix maket endpoints
This commit is contained in:
@@ -18,9 +18,9 @@ const scan = async () => {
|
|||||||
loading.value = true;
|
loading.value = true;
|
||||||
try {
|
try {
|
||||||
const { data } = await marketApi.scanMarket(
|
const { data } = await marketApi.scanMarket(
|
||||||
String(days.value),
|
days.value,
|
||||||
String(marketTaxStore.brokerFee / 100),
|
marketTaxStore.brokerFee / 100,
|
||||||
String(marketTaxStore.scc / 100)
|
marketTaxStore.scc / 100
|
||||||
);
|
);
|
||||||
const types = await getMarketTypes(data.map(r => r.marketTypeId));
|
const types = await getMarketTypes(data.map(r => r.marketTypeId));
|
||||||
const prices = await apraisalStore.getPrices(types);
|
const prices = await apraisalStore.getPrices(types);
|
||||||
|
|||||||
Reference in New Issue
Block a user