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

fixed bookmarks not showing on homepage (#1072)

This commit is contained in:
EnzoVezzaro 2022-02-09 14:14:32 +01:00 committed by GitHub
parent 463c850fc4
commit b79385bbcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -163,7 +163,7 @@ export async function getAssetsFromDidList(
const baseParams = {
chainIds: chainIds,
filters: [getFilterTerm('id', didList)],
filters: [getFilterTerm('_id', didList)],
ignorePurgatory: true
} as BaseQueryParams
const query = generateBaseQuery(baseParams)
@ -185,7 +185,7 @@ export async function retrieveDDOListByDIDs(
const orderedDDOListByDIDList: Asset[] = []
const baseQueryparams = {
chainIds,
filters: [getFilterTerm('id', didList)],
filters: [getFilterTerm('_id', didList)],
ignorePurgatory: true
} as BaseQueryParams
const query = generateBaseQuery(baseQueryparams)
@ -339,7 +339,7 @@ export async function getDownloadAssets(
const baseQueryparams = {
chainIds,
filters: [
getFilterTerm('id', didList),
getFilterTerm('_id', didList),
getFilterTerm('service.type', 'access')
]
} as BaseQueryParams