fixed format issues
This commit is contained in:
parent
a700818a06
commit
08f713d98b
55 changed files with 5680 additions and 5533 deletions
|
|
@ -31,10 +31,18 @@ mock.module('@stock-bot/config', () => ({
|
|||
}
|
||||
|
||||
// Copy flat configs to nested if they exist
|
||||
if (result.redis) {result.database.dragonfly = result.redis;}
|
||||
if (result.mongodb) {result.database.mongodb = result.mongodb;}
|
||||
if (result.postgres) {result.database.postgres = result.postgres;}
|
||||
if (result.questdb) {result.database.questdb = result.questdb;}
|
||||
if (result.redis) {
|
||||
result.database.dragonfly = result.redis;
|
||||
}
|
||||
if (result.mongodb) {
|
||||
result.database.mongodb = result.mongodb;
|
||||
}
|
||||
if (result.postgres) {
|
||||
result.database.postgres = result.postgres;
|
||||
}
|
||||
if (result.questdb) {
|
||||
result.database.questdb = result.questdb;
|
||||
}
|
||||
|
||||
return result;
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue