1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00

cleanup asset model

This commit is contained in:
Matthias Kretschmann 2019-06-04 13:50:35 +02:00
parent dd6f6966ce
commit d3bf27fddc
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 0 additions and 13 deletions

View File

@ -19,15 +19,6 @@ const AssetModel = {
inLanguage: '',
tags: [],
price: ''
},
curation: {
rating: null,
numVotes: null,
schema: null
},
additionalInformation: {
updateFrequency: null,
structuredMarkup: []
}
}

View File

@ -285,10 +285,6 @@ export default class Publish extends Component<{}, PublishState> {
type: this.state.type,
categories: [this.state.categories]
})
// curation: Object.assign(AssetModel.curation),
// additionalInformation: Object.assign(
// AssetModel.additionalInformation
// )
}
try {