不要怂,就是干,撸起袖子干!

Commit 9241fed6 by Michael Schonfeld

oops. fix the sum fn

1 parent 71e14613
Showing with 1 additions and 1 deletions
......@@ -621,7 +621,7 @@ module.exports = (function() {
}
DAOFactory.prototype.sum = function(field, options) {
return this.aggregate(field, 'min', options)
return this.aggregate(field, 'sum', options)
}
DAOFactory.prototype.build = function(values, options) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!