Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/ensure nameOnly mongo db flag is boolean #628

Merged
merged 3 commits into from
Nov 28, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES_NEXT_RELEASE
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- Fix: ensure nameOnly flag of mongoDB is boolean
AlvaroVega marked this conversation as resolved.
Show resolved Hide resolved
- Fix: TRUNCATION_EXPIRE_AFTER_SECONDS functionality (#606)
- Set Nodejs 14 as minimum version in packages.json (effectively removing Nodev12 from supported versions)
- Add: CORS_ENABLED env var (boolean) to enable the cors configuration (of config.js file) in your docker image (#608)
2 changes: 1 addition & 1 deletion lib/database/model/sthDatabaseNameCodecTool.js
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ function copyDatabase(options, databaseName, callback) {
const adminDB = sthDatabase.connection.admin();
const listCommand = {
listCollections: 1,
nameOnly: 1
nameOnly: true
};
var sourceDB = databaseName;
var targetDB = options.encode
Expand Down
2 changes: 1 addition & 1 deletion lib/database/model/sthDatabaseNameMapperTool.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ function copyDatabase(options, databaseName, callback) {
const adminDB = sthDatabase.connection.admin();
const listCommand = {
listCollections: 1,
nameOnly: 1
nameOnly: true
};
var sourceDB = databaseName;
var targetDB = options.encode
Expand Down
Loading