mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
Merge 8bd13e523b into f05a132586
This commit is contained in:
commit
0544813086
2 changed files with 2 additions and 2 deletions
|
|
@ -252,7 +252,7 @@ app.post('/channels/:channelName/chaincodes', async function(req, res) {
|
|||
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);
|
||||
});
|
||||
// Invoke transaction on chaincode on target peers
|
||||
|
|
|
|||
|
|
@ -175,7 +175,7 @@ var instantiateChaincode = async function(peers, channelName, chaincodeName, cha
|
|||
|
||||
if (!error_message) {
|
||||
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);
|
||||
logger.info(message);
|
||||
// build a response to send back to the REST caller
|
||||
|
|
|
|||
Loading…
Reference in a new issue