mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
fix lint
This commit is contained in:
parent
56c54faae5
commit
3a392eb4fe
@ -1,6 +1,7 @@
|
||||
import DDO from "../ddo/DDO"
|
||||
import MetaData from "../ddo/MetaData"
|
||||
import MetaDataBase from "../ddo/MetaDataBase"
|
||||
import Service from "../ddo/Service"
|
||||
import IdGenerator from "../ocean/IdGenerator"
|
||||
import {Account, Logger, Ocean, ServiceAgreement} from "../squid"
|
||||
|
||||
@ -56,8 +57,10 @@ import {Account, Logger, Ocean, ServiceAgreement} from "../squid"
|
||||
const serviceAgreementSignature: string = await ocean.signServiceAgreement(ddo.id, serviceAgreementId, consumer)
|
||||
Logger.log("ServiceAgreement Signature:", serviceAgreementSignature)
|
||||
|
||||
const serviceAgreement: ServiceAgreement = await ocean.executeServiceAgreement(ddo.id, serviceAgreementId,
|
||||
serviceAgreementSignature, consumer, publisher)
|
||||
const service: Service = ddo.findServiceByType("Access")
|
||||
|
||||
const serviceAgreement: ServiceAgreement = await ocean.executeServiceAgreement(ddo.id, service.serviceDefinitionId,
|
||||
serviceAgreementId, serviceAgreementSignature, consumer, publisher)
|
||||
Logger.log("ServiceAgreement Id:", serviceAgreement.getId())
|
||||
|
||||
})()
|
||||
|
Loading…
Reference in New Issue
Block a user