adityamukho / sails-nedb

NeDB adapter for Sails / Waterline - 0.10.x
MIT License
10 stars 4 forks source link

TypeError: Object.keys called on non-object #3

Open swatchcr opened 9 years ago

swatchcr commented 9 years ago

It has the same issue reported here:

https://github.com/balderdashy/sails-mongo/issues/147

it seems like the issue could be fixed with a simple change on find function at the adapter.js

options = options || {};

Could you please check?