mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-21 00:55:10 +00:00
[FAB-4994] Fix formatting of js files
The tab/spaces were inconsistent for the js files. Change-Id: I38d57dfc3fe59fa601e304b61d122c05ab1f183e Signed-off-by: Gari Singh <gari.r.singh@gmail.com>
This commit is contained in:
parent
e265cac69c
commit
6610584c19
2 changed files with 48 additions and 50 deletions
|
|
@ -72,8 +72,7 @@ Promise.resolve().then(() => {
|
||||||
console.log(util.format(
|
console.log(util.format(
|
||||||
'Successfully sent Proposal and received ProposalResponse: Status - %s, message - "%s", metadata - "%s", endorsement signature: %s',
|
'Successfully sent Proposal and received ProposalResponse: Status - %s, message - "%s", metadata - "%s", endorsement signature: %s',
|
||||||
proposalResponses[0].response.status, proposalResponses[0].response.message,
|
proposalResponses[0].response.status, proposalResponses[0].response.message,
|
||||||
proposalResponses[0].response.payload, proposalResponses[0].endorsement
|
proposalResponses[0].response.payload, proposalResponses[0].endorsement.signature));
|
||||||
.signature));
|
|
||||||
var request = {
|
var request = {
|
||||||
proposalResponses: proposalResponses,
|
proposalResponses: proposalResponses,
|
||||||
proposal: proposal,
|
proposal: proposal,
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,6 @@ Promise.resolve().then (() => {
|
||||||
console.error("error from query = ", query_responses[0]);
|
console.error("error from query = ", query_responses[0]);
|
||||||
}
|
}
|
||||||
console.log("Response is ", query_responses[0].toString());
|
console.log("Response is ", query_responses[0].toString());
|
||||||
})
|
}).catch((err) => {
|
||||||
.catch ((err) => {
|
|
||||||
console.error("Caught Error", err);
|
console.error("Caught Error", err);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue