Skip to content

Commit

Permalink
Fix get contract app/add agreement in hid.Hydra
Browse files Browse the repository at this point in the history
  • Loading branch information
dolfinus committed May 29, 2019
1 parent 8181071 commit a0f11dd
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,8 @@ trait Contract {
if (!input.docTypeId) {
input.docTypeId = getContractAppTypeId()
}
input.receiverId = null
input.providerId = null
return getDocumentsBy(input)
}

Expand All @@ -221,6 +223,8 @@ trait Contract {
if (!input.docTypeId) {
input.docTypeId = getContractAppTypeId()
}
input.receiverId = null
input.providerId = null
return getDocumentBy(input)
}

Expand Down Expand Up @@ -292,6 +296,8 @@ trait Contract {
if (!input.docTypeId) {
input.docTypeId = getAddAgreementTypeId()
}
input.receiverId = null
input.providerId = null
return getDocumentsBy(input)
}

Expand All @@ -300,6 +306,8 @@ trait Contract {
if (!input.docTypeId) {
input.docTypeId = getAddAgreementTypeId()
}
input.receiverId = null
input.providerId = null
return getDocumentBy(input)
}

Expand Down

0 comments on commit a0f11dd

Please sign in to comment.