Removed MetaData.ts public from encryption

This commit is contained in:
Mathias Wagner 2023-08-03 22:51:38 +02:00
parent 654d8c65ee
commit 8a8ce09c0d
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -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,
});