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:
parent
5bf25d4622
commit
e6a3fe6ec1
@ -37,7 +37,9 @@ export default class Details extends Component<DetailsProps, DetailsState> {
|
|||||||
accessService.serviceDefinitionId,
|
accessService.serviceDefinitionId,
|
||||||
account[0]
|
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) {
|
} catch (e) {
|
||||||
Logger.log('error', e)
|
Logger.log('error', e)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user