diff --git a/.changeset/mean-bats-learn.md b/.changeset/mean-bats-learn.md new file mode 100644 index 0000000..68e4402 --- /dev/null +++ b/.changeset/mean-bats-learn.md @@ -0,0 +1,5 @@ +--- +'@lowdefy/community-plugin-mongodb': patch +--- + +Fix MongoDBVersionedUpdateOne request was not included in connection. diff --git a/plugins/community-plugin-mongodb/src/connections/MongoDBCollection/MongoDBCollection.js b/plugins/community-plugin-mongodb/src/connections/MongoDBCollection/MongoDBCollection.js index 0b92b41..cd41119 100644 --- a/plugins/community-plugin-mongodb/src/connections/MongoDBCollection/MongoDBCollection.js +++ b/plugins/community-plugin-mongodb/src/connections/MongoDBCollection/MongoDBCollection.js @@ -24,6 +24,7 @@ import MongoDBInsertManyConsecutiveIds from './MongoDBInsertManyConsecutiveIds/M import MongoDBInsertOne from './MongoDBInsertOne/MongoDBInsertOne.js'; import MongoDBUpdateMany from './MongoDBUpdateMany/MongoDBUpdateMany.js'; import MongoDBUpdateOne from './MongoDBUpdateOne/MongoDBUpdateOne.js'; +import MongoDBVersionedUpdateOne from './MongoDBVersionedUpdateOne/MongoDBVersionedUpdateOne.js'; import schema from './schema.js'; const { requests } = MongoDBCollection; @@ -40,5 +41,6 @@ export default { MongoDBInsertOne, MongoDBUpdateMany, MongoDBUpdateOne, + MongoDBVersionedUpdateOne, }, };