Minor fix.

This commit is contained in:
Julien Fontanet
2014-03-25 18:24:58 +01:00
parent 5c25a82a2b
commit 093e09c732

View File

@@ -146,7 +146,7 @@ Redis.prototype._add = function (models, options) {
return Promise.all(promises);
}).return(model);
}).then(function () { return model; });
promises.push(promise);
});