Skip to content

Commit

Permalink
revert uuid and disable strictQuery by default
Browse files Browse the repository at this point in the history
  • Loading branch information
jupe committed Mar 29, 2024
1 parent f695802 commit caf5654
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions app/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const config = require('./tools/config');
let dbUrl = config.get('db');
const dbOptions = config.get('mongo') || {};
mongoose.Promise = Promise;
mongoose.set('strictQuery', false);

let mongoServer = null;
let tearingDown = false;
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"socket.io": "^4.5.0",
"socketio-jwt": "^4.6.2",
"tv4": "^1.3.0",
"uuid": "^9.0.1",
"uuid": "^8.3.2",
"winston": "^3.7.2",
"winston-daily-rotate-file": "^4.6.1",
"winston-transport": "^4.5.0"
Expand Down

0 comments on commit caf5654

Please sign in to comment.