1
0
mirror of https://github.com/bigchaindb/js-bigchaindb-driver.git synced 2024-11-24 19:10:12 +01:00

fixed example search

This commit is contained in:
Vatunyoo Suwannapisit 2021-10-18 19:33:31 +07:00
parent 7c1e8be400
commit 34b2cd22c5

View File

@ -59,5 +59,5 @@ conn.postTransactionCommit(txCreateAliceSimpleSigned)
})
// ======== Search Asset by Serial Number ======== //
.then(() => conn.searchAssets('Bicycle Inc.'))
.then(assets => console.log('Found assets with serial number Bicycle Inc.:', assets)) // eslint-disable-line no-console
.then(() => conn.searchAssets('abcd1234'))
.then(assets => console.log('Found assets with serial number abcd1234:', assets)) // eslint-disable-line no-console