renamed fields in resultset

This commit is contained in:
Ivan Socolsky 2014-11-17 16:27:46 -03:00
parent 6dfaefdcc5
commit 51b6416f1a

View File

@ -125,10 +125,10 @@ exports.multitxs = function(req, res, next) {
if (paginated) {
transactions = {
nbItems: nbTxs,
totalItems: nbTxs,
from: +from,
to: +to,
data: transactions,
items: transactions,
};
}
return cb(null, transactions);