Closed thailekha closed 7 years ago
According to http://mongodb.github.io/node-mongodb-native/2.0/api/CommandCursor.html#toArray, if there is no callback passed, a promise should be returned. This is needed in fh-dataman https://github.com/feedhenry/fh-dataman/blob/master/src/endpoints/http/collections/list.js#L10
According to http://mongodb.github.io/node-mongodb-native/2.0/api/CommandCursor.html#toArray, if there is no callback passed, a promise should be returned. This is needed in fh-dataman https://github.com/feedhenry/fh-dataman/blob/master/src/endpoints/http/collections/list.js#L10