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

consume flow working with brizo accounts

This commit is contained in:
Jernej Pregelj 2019-03-26 16:10:07 +01:00
parent 5bf25d4622
commit e6a3fe6ec1

View File

@ -37,7 +37,9 @@ export default class Details extends Component<DetailsProps, DetailsState> {
accessService.serviceDefinitionId,
account[0]
)
Logger.log('agreementId', agreementId)
const folder = ""
const path = await this.context.ocean.assets.consume(agreementId, ddo.id, accessService.serviceDefinitionId, account[0], folder)
Logger.log('path', path)
} catch (e) {
Logger.log('error', e)
}