OSDN Git Service
(root)
/
bytom
/
bytom-electron.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cf63a7
)
Revert "remove detail param"
author
Yongfeng LI
<wliyongfeng@gmail.com>
Thu, 24 May 2018 01:39:01 +0000
(09:39 +0800)
committer
Yongfeng LI
<wliyongfeng@gmail.com>
Thu, 24 May 2018 01:39:01 +0000
(09:39 +0800)
This reverts commit
ca4f529bffcf41f156f450ac86384931f202118e
.
src/sdk/api/transactions.js
patch
|
blob
|
history
diff --git
a/src/sdk/api/transactions.js
b/src/sdk/api/transactions.js
index
1c902a6
..
05cd0a4
100644
(file)
--- a/
src/sdk/api/transactions.js
+++ b/
src/sdk/api/transactions.js
@@
-65,7
+65,9
@@
const transactionsAPI = (client) => {
)
return {
- query: (params, cb) => shared.query(client, 'transactions', '/list-transactions', params, {cb}),
+ query: (params, cb) => shared.query(client, 'transactions', '/list-transactions',
+ Object.assign({}, params, {detail: true}),
+ {cb}),
queryAll: (params, processor, cb) => shared.queryAll(client, 'transactions', params, processor, cb),