Skip to content

Commit 02f2521

Browse files
lint and section title
1 parent d2c1820 commit 02f2521

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/field-level-encryption.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ await connection.openUri(`mongodb://localhost:27017`, {
150150
const clientEncryption = Model.clientEncryption();
151151
```
152152

153-
## Setting Up Field Level Encryption with Mongoose
153+
## Manual FLE in Mongoose
154154

155155
First, you need to install the [mongodb-client-encryption npm package](https://www.npmjs.com/package/mongodb-client-encryption).
156156
This is MongoDB's official package for setting up encryption keys.

test/encryption/encryption.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ describe('encryption integration tests', () => {
873873
type: Int32, encrypt: { keyId: [keyId], algorithm }
874874
}
875875
});
876-
model.discriminator('Test', clonedSchema)
876+
model.discriminator('Test', clonedSchema);
877877
}, /encrypted fields cannot be declared on both the base schema and the child schema in a discriminator/);
878878
});
879879
});
@@ -895,7 +895,7 @@ describe('encryption integration tests', () => {
895895
type: Int32, encrypt: { keyId: [keyId], algorithm }
896896
}
897897
});
898-
model.discriminator('Test', clonedSchema)
898+
model.discriminator('Test', clonedSchema);
899899
}, /encrypted fields cannot be declared on both the base schema and the child schema in a discriminator/);
900900
});
901901
});

0 commit comments

Comments
 (0)