File tree Expand file tree Collapse file tree 4 files changed +8
-3
lines changed Expand file tree Collapse file tree 4 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1
1
# bedrock-ssm-mongodb ChangeLog
2
2
3
+ ## 12.1.2 - 2025-mm-dd
4
+
5
+ ### Fixed
6
+ - Do not pass ` writeOptions ` in database calls.
7
+
3
8
## 12.1.1 - 2025-03-04
4
9
5
10
### Fixed
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ export async function generateKeyPair({
144
144
record . key = await encryptKeySecrets ( { key : record . key } ) ;
145
145
146
146
try {
147
- await database . collections . ssm . insertOne ( record , database . writeOptions ) ;
147
+ await database . collections . ssm . insertOne ( record ) ;
148
148
} catch ( e ) {
149
149
if ( ! database . isDuplicateError ( e ) ) {
150
150
throw e ;
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ export async function generateKeyPair({
95
95
record . key = await encryptKeySecrets ( { key : record . key } ) ;
96
96
97
97
try {
98
- await database . collections . ssm . insertOne ( record , database . writeOptions ) ;
98
+ await database . collections . ssm . insertOne ( record ) ;
99
99
} catch ( e ) {
100
100
if ( ! database . isDuplicateError ( e ) ) {
101
101
throw e ;
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ export async function generateKey({
63
63
record . key = await encryptKeySecrets ( { key : record . key } ) ;
64
64
65
65
try {
66
- await database . collections . ssm . insertOne ( record , database . writeOptions ) ;
66
+ await database . collections . ssm . insertOne ( record ) ;
67
67
const keyDescription = {
68
68
'@context' : keyContextUrl ,
69
69
id : keyId ,
You can’t perform that action at this time.
0 commit comments