mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
add custom identifier
This commit is contained in:
parent
8225775828
commit
a85f528568
@ -57,6 +57,7 @@ export function generateBaseQuery(
|
||||
? getFilterTerm('chainId', baseQueryParams.chainIds)
|
||||
: '',
|
||||
getFilterTerm('_index', 'aquarius'),
|
||||
getFilterTerm('customIdentifier.keyword', 'myCustomIdentifier'),
|
||||
...(baseQueryParams.ignorePurgatory
|
||||
? ''
|
||||
: [getFilterTerm('purgatory.state', false)]),
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user