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:
parent
7c1e8be400
commit
34b2cd22c5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user