microcommunity/providers/db.js:21
if(id.constructor.name != 'ObjectID'){
^
TypeError: Cannot read property 'constructor' of undefined
at Object.exports.normalizeID (/home/mhdsyrwan/node_tests/microcommunity/providers/db.js:21:7)
at Object.exports.fetch (/home/mhdsyrwan/node_tests/microcommunity/providers/users-provider.coffee:17:19)
at exports.fetchWithoutPage (/home/mhdsyrwan/node_tests/microcommunity/providers/revisions-provider.coffee:41:31)
at Collection.findOne (/home/mhdsyrwan/node_tests/microcommunity/node_modules/mongodb/lib/mongodb/collection.js:929:34)
at Cursor.toArray (/home/mhdsyrwan/node_tests/microcommunity/node_modules/mongodb/lib/mongodb/cursor.js:148:9)
at Cursor.each (/home/mhdsyrwan/node_tests/microcommunity/node_modules/mongodb/lib/mongodb/cursor.js:188:11)
at Cursor.nextObject (/home/mhdsyrwan/node_tests/microcommunity/node_modules/mongodb/lib/mongodb/cursor.js:526:35)
at Cursor.close (/home/mhdsyrwan/node_tests/microcommunity/node_modules/mongodb/lib/mongodb/cursor.js:763:5)
at Cursor.nextObject (/home/mhdsyrwan/node_tests/microcommunity/node_modules/mongodb/lib/mongodb/cursor.js:526:17)
at Cursor.each (/home/mhdsyrwan/node_tests/microcommunity/node_modules/mongodb/lib/mongodb/cursor.js:180:12)