Skip to content

Commit

Permalink
Merge pull request #463 from T-vK/main
Browse files Browse the repository at this point in the history
Restore original allowRegex behavior
  • Loading branch information
florianholzapfel authored May 6, 2024
2 parents a2ea21a + 5e4b993 commit 63beb28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "express-restify-mongoose",
"version": "9.0.4",
"version": "9.0.5",
"description": "Easily create a flexible REST interface for mongoose models",
"keywords": [
"ReST",
Expand Down Expand Up @@ -71,4 +71,4 @@
"engines": {
"node": ">=16"
}
}
}
2 changes: 1 addition & 1 deletion src/express-restify-mongoose.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const defaultOptions: Omit<Options, "contextFilter" | "outputFn" | "onError"> =
version: "/v1",
idProperty: "_id",
restify: false,
allowRegex: false,
allowRegex: true,
runValidators: false,
readPreference: "primary",
totalCountHeader: false,
Expand Down

0 comments on commit 63beb28

Please sign in to comment.