mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Fix typo that broke count().
This commit is contained in:
@@ -345,7 +345,7 @@ _Mongo.Cursor.prototype.count = function () {
|
||||
future.ret([err, res]);
|
||||
});
|
||||
|
||||
var err = future.wait();
|
||||
var result = future.wait();
|
||||
if (result[0])
|
||||
throw result[0];
|
||||
return result[1];
|
||||
|
||||
Reference in New Issue
Block a user