We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbd60c8 commit 8ff975aCopy full SHA for 8ff975a
addon/mongocrypt.cc
@@ -562,7 +562,7 @@ Value MongoCrypt::MakeExplicitEncryptionContext(const CallbackInfo& info) {
562
563
Object options = info.Length() > 1 ? info[1].ToObject() : Object::New(info.Env());
564
565
- if (!options.Has("expressionMode") || !options.Get("expressionMode").IsBoolean()) {
+ if (!options.Get("expressionMode").IsBoolean()) {
566
throw TypeError::New(Env(), "option `expressionMode` is required.");
567
}
568
0 commit comments