Skip to content

Commit 6193c92

Browse files
committed
comments added to explain actions modifications
1 parent 08bc1ae commit 6193c92

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

components/overledger/actions/prepare-smart-contract-transaction/prepare-smart-contract-transaction.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default {
6363
signingAccountId: this.signingAccountId,
6464
functionName: this.functionName,
6565
smartContractId: this.smartContractId,
66-
inputParameters: parseObject(this.inputParameters),
66+
inputParameters: parseObject(this.inputParameters), //parse these values using the parseObject function at this shouls turn the JSON string into JSON objects to used in the request body.
6767
};
6868

6969
const response = await this.overledger.prepareSmartContractTransaction({

components/overledger/actions/read-from-a-smart-contract/read-from-smart-contract.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export default {
6161
network: this.locationNetwork,
6262
},
6363
functionName: this.functionName,
64-
inputParameters: parseObject(this.inputParameters),
64+
inputParameters: parseObject(this.inputParameters), //parse these values using the parseObject function at this shouls turn the JSON string into JSON objects to used in the request body.
6565
smartContractId: this.smartContractId,
6666
outputParameters: parseObject(this.outputParameters),
6767
};

components/overledger/overledger.app.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { axios } from "@pipedream/platform";
33
export default {
44
type: "app",
55
app: "overledger",
6-
props: { //Options to allow for instance selection of Overledger environment - Sanbox or Live Overledger ro determine BaseURL
6+
props: { //Options to allow for instance selection of Overledger environment - Sandbox or Live Overledger to determine BaseURL
77
environment: {
88
type: "string",
99
label: "Overledger Instance",
@@ -36,7 +36,7 @@ export default {
3636
"API-Version": "3.0.0",
3737
};
3838
},
39-
_getBaseUrl() { //conditional to for environment selection.
39+
_getBaseUrl() { //conditional for environment url selection.
4040
return this.environment === "sandbox"
4141
? "https://api.sandbox.overledger.io"
4242
: "https://api.overledger.io";

0 commit comments

Comments
 (0)