[fix:] default module config was wrong
This commit is contained in:
@@ -99,8 +99,7 @@ public static class SchemaMigration
|
||||
// Example: Add a new field that didn't exist before
|
||||
if (!obj.ContainsKey("moduleConfig"))
|
||||
{
|
||||
string deflt = JsonConvert.SerializeObject(new ModuleConfig());
|
||||
obj["moduleConfig"] = default;
|
||||
obj["moduleConfig"] = JToken.FromObject(new ModuleConfig());
|
||||
}
|
||||
|
||||
return obj;
|
||||
|
||||
Reference in New Issue
Block a user