diff --git a/src/main/java/com/ghostchu/peerbanhelper/config/MainConfigUpdateScript.java b/src/main/java/com/ghostchu/peerbanhelper/config/MainConfigUpdateScript.java index 62379a753..bbc0c017c 100644 --- a/src/main/java/com/ghostchu/peerbanhelper/config/MainConfigUpdateScript.java +++ b/src/main/java/com/ghostchu/peerbanhelper/config/MainConfigUpdateScript.java @@ -45,7 +45,9 @@ public void pushProvidersSMTPStructUpgrade() { config.set("encryption", "STARTTLS"); config.set("sendPartial", true); } + single.set("config", config); } + pushNotification.set(key, single); conf.set(key, single); } } @@ -63,8 +65,9 @@ public void pushProvidersCleanup() { single.set("sendkey", sendKey); single.set("send-key", null); } - conf.set(key, single); + pushNotification.set(key, single); } + conf.set("push-notification", pushNotification); } @UpdateScript(version = 24)