fixed issue where base configuratoin would fail to insert into the database

This commit is contained in:
Miodec 2022-02-01 00:31:04 +01:00
parent 7f1e50e3bd
commit 08103327dc

View file

@ -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",