diff --git a/src/@utils/aquarius.ts b/src/@utils/aquarius.ts index 111851aaa..8ad67fb5f 100644 --- a/src/@utils/aquarius.ts +++ b/src/@utils/aquarius.ts @@ -57,6 +57,7 @@ export function generateBaseQuery( ? getFilterTerm('chainId', baseQueryParams.chainIds) : '', getFilterTerm('_index', 'aquarius'), + getFilterTerm('customIdentifier.keyword', 'myCustomIdentifier'), ...(baseQueryParams.ignorePurgatory ? '' : [getFilterTerm('purgatory.state', false)]), diff --git a/src/components/Publish/index.tsx b/src/components/Publish/index.tsx index 9098e42df..7473ad4f8 100644 --- a/src/components/Publish/index.tsx +++ b/src/components/Publish/index.tsx @@ -133,6 +133,9 @@ export default function PublishPage({ erc721Address ) + // add custom identifier + Object.assign(ddo, { customIdentifier: 'myCustomIdentifier' }) + if (!ddo) throw new Error('No DDO received. Please try again.') setDdo(ddo)