Skip to content

Commit

Permalink
adding
Browse files Browse the repository at this point in the history
  • Loading branch information
Dom Steil committed Feb 6, 2019
1 parent 885a555 commit 40c8199
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion clients/src/main/kotlin/io/adappt/webserver/Controller.kt
Expand Up @@ -191,7 +191,7 @@ class RestController(

val (status, message) = try {

// val flowHandle = rpc.proxy.startFlowDynamic(CreateAgreementFlow.Initiator::class.java, agreementNumber, agreementName, agreementStatus, agreementType, totalAgreementValue, agreementStartDate, agreementEndDate, active, createdAt, lastUpdated, otherParty)

val flowHandle = proxy.startFlowDynamic(CreateAgreementFlow.Initiator::class.java, agreementNumber, agreementName, agreementStatus, agreementType, totalAgreementValue, otherParty)

val result = flowHandle.use { it.returnValue.getOrThrow() }
Expand Down
8 changes: 4 additions & 4 deletions cordapp/src/main/kotlin/io/adappt/AgreementFlows.kt
Expand Up @@ -150,11 +150,11 @@ class RenewAgreementFlow(val agreementNumber: String) : FlowLogic<SignedTransact
agreement.counterparty,
// agreement.agreementStartDate,
// agreement.agreementEndDate,
// agreement.agreementLineItem,
// agreement.agreementLineItem,
// agreement.attachmentId,
// agreement.active,
// agreement.createdAt,
// agreement.lastUpdated,
// agreement.active,
// agreement.createdAt,
// agreement.lastUpdated,
agreement.linearId)

// Building the transaction.
Expand Down

0 comments on commit 40c8199

Please sign in to comment.