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