mirror of
https://github.com/strapi/strapi.git
synced 2025-12-27 23:24:03 +00:00
Fix condition
This commit is contained in:
parent
a11b4842fe
commit
9246c856b3
@ -210,9 +210,9 @@ module.exports = (scope, cb) => {
|
||||
scope.database.settings.password = answers.password;
|
||||
scope.database.options.authenticationDatabase = answers.authenticationDatabase;
|
||||
if (scope.client.database === 'mongo') {
|
||||
scope.database.settings.ssl = _.toString(answers.ssl) === 'true';
|
||||
} else {
|
||||
scope.database.options.ssl = _.toString(answers.ssl) === 'true';
|
||||
} else {
|
||||
scope.database.settings.ssl = _.toString(answers.ssl) === 'true';
|
||||
}
|
||||
|
||||
console.log();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user