Skip to content

Commit ca915ae

Browse files
sync CRUD
1 parent a07a402 commit ca915ae

File tree

261 files changed

+20915
-9927
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

261 files changed

+20915
-9927
lines changed

src/operations/find_and_modify.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -192,12 +192,7 @@ export class FindAndModifyOperation extends CommandOperation<Document> {
192192
...this.cmdBase
193193
};
194194

195-
// Have we specified collation
196-
try {
197-
decorateWithCollation(cmd, coll, options);
198-
} catch (err) {
199-
return err;
200-
}
195+
decorateWithCollation(cmd, coll, options);
201196

202197
if (options.hint) {
203198
// TODO: once this method becomes a CommandOperation we will have the server

0 commit comments

Comments
 (0)