From 742adf61865599d0e3e4c707f1d5aef35987428e Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Fri, 10 Jan 2014 16:59:20 -0300 Subject: [PATCH] fix test env variables --- app/models/Transaction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/Transaction.js b/app/models/Transaction.js index 61c0605..7f6014e 100644 --- a/app/models/Transaction.js +++ b/app/models/Transaction.js @@ -46,10 +46,10 @@ TransactionSchema.statics.fromId = function(txid, cb) { }).exec(cb); }; + TransactionSchema.statics.fromIdWithInfo = function(txid, cb) { // TODO Should we go to mongoDB first? Now, no extra information is stored at mongo. - this.fromId(txid, function(err, tx) { if (err) return cb(err);