mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-04 04:51:16 +08:00
fixed issue where base configuratoin would fail to insert into the database
This commit is contained in:
parent
7f1e50e3bd
commit
08103327dc
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ class ConfigurationDAO {
|
|||
} else {
|
||||
await mongoDB()
|
||||
.collection("configuration")
|
||||
.insertOne(BASE_CONFIGURATION); // Seed the base configuration.
|
||||
.insertOne(Object.assign({}, BASE_CONFIGURATION)); // Seed the base configuration.
|
||||
}
|
||||
Logger.log(
|
||||
"fetch_configuration_success",
|
||||
|
|
Loading…
Reference in a new issue