Skip to content

Commit

Permalink
Merge pull request foam-framework#192 from tharmaman/NP-3903/PaymentC…
Browse files Browse the repository at this point in the history
…odeInvoiceTxnRequestFOAM

Change arg to use FObject
  • Loading branch information
kgrgreer authored Apr 30, 2021
2 parents ace7080 + 6878ee4 commit 1ae4c39
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ foam.CLASS({
args: [
{ name: 'x', type: 'Context' },
{ name: 'request', type: 'ApprovalRequest' },
{ name: 'capableObj', type: 'Capable' },
{ name: 'obj', type: 'FObject' },
{ name: 'capablePayloadObj', type: 'CapabilityJunctionPayload' }
],
javaCode: `
Expand Down Expand Up @@ -167,7 +167,7 @@ foam.CLASS({
.setClassification(capName + FOR + objName + " - id:" + String.valueOf(obj.getProperty("id")))
.setStatus(ApprovalStatus.REQUESTED).build();
approvalRequest = decorateApprovalRequest(x, approvalRequest, capableObj, capablePayload);
approvalRequest = decorateApprovalRequest(x, approvalRequest, obj, capablePayload);
approvalRequestDAO.put_(getX(), approvalRequest);
} catch (Exception e){
Expand Down

0 comments on commit 1ae4c39

Please sign in to comment.