Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lpizzinidev committed Nov 23, 2022
1 parent f75cf27 commit 22074a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cast.js
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ function getStrictQuery(queryOptions, schemaUserProvidedOptions, schemaOptions,
if (
context.mongooseCollection &&
context.mongooseCollection.conn &&
context.mongooseCollection.conn.base &&
context.mongooseCollection.conn.base &&
context.mongooseCollection.conn.base.options) {
const mongooseOptions = context.mongooseCollection.conn.base.options;
if ('strictQuery' in mongooseOptions) {
Expand Down

0 comments on commit 22074a3

Please sign in to comment.