From b79385bbcfc0516e75abc2b71283cd56bcea53f3 Mon Sep 17 00:00:00 2001 From: EnzoVezzaro Date: Wed, 9 Feb 2022 14:14:32 +0100 Subject: [PATCH] fixed bookmarks not showing on homepage (#1072) --- src/@utils/aquarius.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/@utils/aquarius.ts b/src/@utils/aquarius.ts index 4c8d0866c..aac6fb2dd 100644 --- a/src/@utils/aquarius.ts +++ b/src/@utils/aquarius.ts @@ -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