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 = {
|
||||
chainIds: [chainId],
|
||||
sort: { sortBy: SortTermOptions.Created },
|
||||
filters: [getFilterTerm('metadata.type', 'algorithm')]
|
||||
filters: [getFilterTerm('metadata.type', 'algorithm')],
|
||||
esPaginationOptions: {
|
||||
size: 3000
|
||||
}
|
||||
} as BaseQueryParams
|
||||
algorithmDidList?.length > 0 &&
|
||||
baseParams.filters.push(getFilterTerm('_id', algorithmDidList))
|
||||
@ -200,7 +203,6 @@ export async function getAlgorithmsForAsset(
|
||||
),
|
||||
token
|
||||
)
|
||||
|
||||
const algorithms: Asset[] = gueryResults?.results
|
||||
return algorithms
|
||||
}
|
||||
|
@ -241,6 +241,7 @@ export default function Compute({
|
||||
asset.metadata.type
|
||||
)[0]
|
||||
)
|
||||
|
||||
await setDatasetPrice(initializedProvider?.datasets?.[0]?.providerFee)
|
||||
setComputeStatusText(
|
||||
getComputeFeedback(
|
||||
|
Loading…
Reference in New Issue
Block a user