Skip to content

Commit

Permalink
fix: doc
Browse files Browse the repository at this point in the history
  • Loading branch information
thucpn committed Sep 5, 2024
1 parent 5cc7497 commit d8c24ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function toMongoDBFilter(filters?: MetadataFilters): Record<string, any> {
return { $or: filters.filters.map(createFilterObject) };
}

throw new Error("filters condition not recognized. Returning empty object");
throw new Error("filters condition not recognized. Must be AND or OR");
}

/**
Expand Down

0 comments on commit d8c24ea

Please sign in to comment.