Removed MetaData.ts public from encryption
This commit is contained in:
parent
654d8c65ee
commit
8a8ce09c0d
@ -41,7 +41,7 @@ const MetaDataSchema = new Schema<IMetaData>({
|
|||||||
});
|
});
|
||||||
|
|
||||||
MetaDataSchema.plugin(fieldEncryption, {
|
MetaDataSchema.plugin(fieldEncryption, {
|
||||||
fields: ["projectId", "type", "name", "description", "defaultValue", "public"],
|
fields: ["projectId", "type", "name", "description", "defaultValue"],
|
||||||
secret: process.env.ENC_KEY,
|
secret: process.env.ENC_KEY,
|
||||||
saltGenerator: () => process.env.SIG_KEY,
|
saltGenerator: () => process.env.SIG_KEY,
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user