mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-21 00:55:10 +00:00
Fix parameter order and a spelling error
This commit is contained in:
parent
f05a132586
commit
8bd13e523b
2 changed files with 2 additions and 2 deletions
|
|
@ -252,7 +252,7 @@ app.post('/channels/:channelName/chaincodes', async function(req, res) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
let message = await instantiate.instantiateChaincode(peers, channelName, chaincodeName, chaincodeVersion, chaincodeType, fcn, args, req.username, req.orgname);
|
let message = await instantiate.instantiateChaincode(peers, channelName, chaincodeName, chaincodeVersion, fcn, chaincodeType, args, req.username, req.orgname);
|
||||||
res.send(message);
|
res.send(message);
|
||||||
});
|
});
|
||||||
// Invoke transaction on chaincode on target peers
|
// Invoke transaction on chaincode on target peers
|
||||||
|
|
|
||||||
|
|
@ -175,7 +175,7 @@ var instantiateChaincode = async function(peers, channelName, chaincodeName, cha
|
||||||
|
|
||||||
if (!error_message) {
|
if (!error_message) {
|
||||||
let message = util.format(
|
let message = util.format(
|
||||||
'Successfully instantiate chaingcode in organization %s to the channel \'%s\'',
|
'Successfully instantiate chaincode in organization %s to the channel \'%s\'',
|
||||||
org_name, channelName);
|
org_name, channelName);
|
||||||
logger.info(message);
|
logger.info(message);
|
||||||
// build a response to send back to the REST caller
|
// build a response to send back to the REST caller
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue