mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
remove curation
This commit is contained in:
parent
541e495d71
commit
4850f10d8d
@ -28,7 +28,7 @@ export default function PublishPage({
|
|||||||
`)
|
`)
|
||||||
|
|
||||||
const metadata = transformPublishFormToMetadata(values)
|
const metadata = transformPublishFormToMetadata(values)
|
||||||
const { tokensToMint, type } = values.price
|
const { tokensToMint } = values.price
|
||||||
const serviceType = values.access === 'Download' ? 'access' : 'compute'
|
const serviceType = values.access === 'Download' ? 'access' : 'compute'
|
||||||
|
|
||||||
console.log(`
|
console.log(`
|
||||||
|
@ -40,8 +40,7 @@ export function transformPublishFormToMetadata(
|
|||||||
// },
|
// },
|
||||||
termsAndConditions,
|
termsAndConditions,
|
||||||
priceType: price.type
|
priceType: price.type
|
||||||
},
|
}
|
||||||
curation: AssetModel.curation
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return metadata
|
return metadata
|
||||||
|
@ -20,12 +20,6 @@ const AssetModel: MetadataMarket = {
|
|||||||
// custom items
|
// custom items
|
||||||
termsAndConditions: false,
|
termsAndConditions: false,
|
||||||
priceType: undefined
|
priceType: undefined
|
||||||
},
|
|
||||||
curation: {
|
|
||||||
rating: 0,
|
|
||||||
numVotes: 0,
|
|
||||||
schema: '5-star voting',
|
|
||||||
isListed: true
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user