linnovate / meanio

meanio core module
MIT License
54 stars 73 forks source link

Update 'Package' model availability check #104

Closed pashist closed 8 years ago

pashist commented 8 years ago

It need for compatibility with latest mongoose version Also fixed path to Package model file

timelf123 commented 8 years ago

which mongoose version is this for?

pashist commented 8 years ago

Connection#modelNames() method documented since mongoose 3.7.x version, so it will work for all versions from 3.7.x to latest

timelf123 commented 8 years ago

Looks good to me :) Anything stopping you from merging?