1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

fix query

This commit is contained in:
mihaisc 2023-03-01 21:09:41 +02:00
parent 3f9ae37a39
commit a7fb9865fc

View File

@ -57,11 +57,12 @@ export function generateBaseQuery(
'nft.state': 5
}
}
],
must: [
{
terms: {
id: [
]
}
})
filters.push(
getFilterTerm('id.keyword', [
'did:op:10de35106ac0c71d8dfccc01273a22cc63ad9b64764a0c2a389b76fb1aa53a10',
'did:op:6f975ec3b9064f98f6c672d070913b10b7bbcbc53a79d2c00e356ba4db719298',
'did:op:7e0bc5156f8cea8d4e752f2f3c4402da58753b5b10ee44a347ff5da7f56bb3d1',
@ -82,12 +83,8 @@ export function generateBaseQuery(
'did:op:4342c2d20f60da8c23f3953817645f4061bf44152c0f7dec65d71359d8733d3d',
'did:op:4e5040015fd68a5ea61d18c471f164ab531dc6828dde4710d0cdfcdffa62761e',
'did:op:041765719c904354a32674327770b6bfb13a1cc998510b9fdd67d35521f3de93'
]
}
}
]
}
})
])
)
const generatedQuery = {
from: baseQueryParams.esPaginationOptions?.from || 0,
size: