mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
remove graphql query for accessDetails as it is return by aquarius (#1996)
* remove graphql query for accessDetails as it is return by aquarius * increased size query on baseParams for algorithmDidList * Remove console.logs * Review changes * Increased the size even more --------- Co-authored-by: Ana Loznianu <ana@oceanprotocol.com>
This commit is contained in:
parent
8c886e7e03
commit
a2ce8e4ae2
@ -167,7 +167,10 @@ export function getQueryString(
|
|||||||
const baseParams = {
|
const baseParams = {
|
||||||
chainIds: [chainId],
|
chainIds: [chainId],
|
||||||
sort: { sortBy: SortTermOptions.Created },
|
sort: { sortBy: SortTermOptions.Created },
|
||||||
filters: [getFilterTerm('metadata.type', 'algorithm')]
|
filters: [getFilterTerm('metadata.type', 'algorithm')],
|
||||||
|
esPaginationOptions: {
|
||||||
|
size: 3000
|
||||||
|
}
|
||||||
} as BaseQueryParams
|
} as BaseQueryParams
|
||||||
algorithmDidList?.length > 0 &&
|
algorithmDidList?.length > 0 &&
|
||||||
baseParams.filters.push(getFilterTerm('_id', algorithmDidList))
|
baseParams.filters.push(getFilterTerm('_id', algorithmDidList))
|
||||||
@ -200,7 +203,6 @@ export async function getAlgorithmsForAsset(
|
|||||||
),
|
),
|
||||||
token
|
token
|
||||||
)
|
)
|
||||||
|
|
||||||
const algorithms: Asset[] = gueryResults?.results
|
const algorithms: Asset[] = gueryResults?.results
|
||||||
return algorithms
|
return algorithms
|
||||||
}
|
}
|
||||||
|
@ -241,6 +241,7 @@ export default function Compute({
|
|||||||
asset.metadata.type
|
asset.metadata.type
|
||||||
)[0]
|
)[0]
|
||||||
)
|
)
|
||||||
|
|
||||||
await setDatasetPrice(initializedProvider?.datasets?.[0]?.providerFee)
|
await setDatasetPrice(initializedProvider?.datasets?.[0]?.providerFee)
|
||||||
setComputeStatusText(
|
setComputeStatusText(
|
||||||
getComputeFeedback(
|
getComputeFeedback(
|
||||||
|
Loading…
Reference in New Issue
Block a user