1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00

adapt to interface changes

This commit is contained in:
Sebastian Gerske 2018-11-16 14:26:26 +01:00
parent 48ef4cff5f
commit 70c0b5eaf0

View File

@ -53,16 +53,16 @@ const additionalInformation: AdditionalInformation = {
export default class MetaData {
public additionalInformation: AdditionalInformation
public base: MetaDataBase
public curation: Curation
public additionalInformation: AdditionalInformation
constructor(metaData?: MetaData) {
this.base = metaData ? metaData.base ? metaData.base : base : base
this.curation = metaData ? metaData.curation ? metaData.curation : curation : curation
this.additionalInformation = metaData ?
metaData.additionalInformation ? metaData.additionalInformation :
additionalInformation : additionalInformation
this.base = metaData ? metaData.base ? metaData.base : base : base
this.curation = metaData ? metaData.curation ? metaData.curation : curation : curation
}
}