mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-22 17:45:10 +00:00
[FAB-16474] marbles02 chaincode error
Signed-off-by: rthatcher <robert.thatcher@uk.ibm.com> Change-Id: Ib8780cb2a4cbae8c5a55708682490b9c8230b519
This commit is contained in:
parent
7e8edb3189
commit
ecd08c0357
1 changed files with 3 additions and 3 deletions
|
|
@ -462,10 +462,10 @@ let Chaincode = class {
|
||||||
}
|
}
|
||||||
|
|
||||||
const queryString = args[0];
|
const queryString = args[0];
|
||||||
const pageSize = parseInt(args[2], 10);
|
const pageSize = parseInt(args[1], 10);
|
||||||
const bookmark = args[3];
|
const bookmark = args[2];
|
||||||
|
|
||||||
const { iterator, metadata } = await stub.GetQueryResultWithPagination(queryString, pageSize, bookmark);
|
const { iterator, metadata } = await stub.getQueryResultWithPagination(queryString, pageSize, bookmark);
|
||||||
const getAllResults = thisClass['getAllResults'];
|
const getAllResults = thisClass['getAllResults'];
|
||||||
const results = await getAllResults(iterator, false);
|
const results = await getAllResults(iterator, false);
|
||||||
// use RecordsCount and Bookmark to keep consistency with the go sample
|
// use RecordsCount and Bookmark to keep consistency with the go sample
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue