From 08103327dc70d92b33ad8844558f5d12dc63a430 Mon Sep 17 00:00:00 2001 From: Miodec Date: Tue, 1 Feb 2022 00:31:04 +0100 Subject: [PATCH] fixed issue where base configuratoin would fail to insert into the database --- backend/dao/configuration.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/dao/configuration.js b/backend/dao/configuration.js index 2651201a4..49be566c7 100644 --- a/backend/dao/configuration.js +++ b/backend/dao/configuration.js @@ -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",