renamed fields in resultset
This commit is contained in:
parent
6dfaefdcc5
commit
51b6416f1a
@ -125,10 +125,10 @@ exports.multitxs = function(req, res, next) {
|
|||||||
|
|
||||||
if (paginated) {
|
if (paginated) {
|
||||||
transactions = {
|
transactions = {
|
||||||
nbItems: nbTxs,
|
totalItems: nbTxs,
|
||||||
from: +from,
|
from: +from,
|
||||||
to: +to,
|
to: +to,
|
||||||
data: transactions,
|
items: transactions,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
return cb(null, transactions);
|
return cb(null, transactions);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user