Skip to content

Commit

Permalink
fix: broken query for algo pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Abrom8 committed Oct 10, 2024
1 parent 75601e3 commit 31c33de
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/@utils/aquarius/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -356,13 +356,15 @@ export async function getAlgorithmDatasetsForCompute(
const baseQueryParams = {
chainIds: [datasetChainId],
nestedQuery: {
must: {
match_phrase: {
'services.compute.publisherTrustedAlgorithms.did': {
query: algorithmId
must: [
{
match_phrase: {
'services.compute.publisherTrustedAlgorithms.did': {
query: algorithmId
}
}
}
}
]
},
sortOptions: {
sortBy: SortTermOptions.Created,
Expand Down

0 comments on commit 31c33de

Please sign in to comment.