Closed ronaldl29 closed 4 years ago
Line 51 of README.md is: PostSchema.plugin(mongooseFieldEncyption, { fields: ["message", "references"], secret: "some secret key" });
PostSchema.plugin(mongooseFieldEncyption, { fields: ["message", "references"], secret: "some secret key" });
It should be: PostSchema.plugin(mongooseFieldEncryption, { fields: ["message", "references"], secret: "some secret key" });
PostSchema.plugin(mongooseFieldEncryption, { fields: ["message", "references"], secret: "some secret key" });
Whoops - thanks for pointing that out! Fixed now :)
Line 51 of README.md is:
PostSchema.plugin(mongooseFieldEncyption, { fields: ["message", "references"], secret: "some secret key" });
It should be:
PostSchema.plugin(mongooseFieldEncryption, { fields: ["message", "references"], secret: "some secret key" });