A simple symmetric encryption plugin for individual fields. Dependency free, only mongoose peer dependency.
74
stars
32
forks
source link
Take out next within pre init mongoose method since deprecated in mongoose 5.0.0 #15
Closed
orsiemilio closed 6 years ago
Acording to this you should take out the next paramenter when using pre 'init' method. https://github.com/Automattic/mongoose/blob/master/migrating_to_5.md#init-hook-signatures I test it localy by simply deleting it and seams to work fine.. I don't really test it but I think is enough.