diff --git a/Tranga/Migrator.cs b/Tranga/Migrator.cs index b15f1ff..2d81ed5 100644 --- a/Tranga/Migrator.cs +++ b/Tranga/Migrator.cs @@ -60,7 +60,7 @@ public static class Migrator if (kavitaNode is not null) lms.Add(new Kavita(kavitaNode["baseUrl"]!.GetValue(), kavitaNode["auth"]!.GetValue(), null)); - JsonArray notificationManagers = node["libraryManagers"]!.AsArray(); + JsonArray notificationManagers = node["notificationManagers"]!.AsArray(); JsonNode? gotifyNode = notificationManagers.FirstOrDefault(nm => nm["notificationManagerType"].GetValue() == (byte)NotificationManager.NotificationManagerType.Gotify); JsonNode? lunaSeaNode = notificationManagers.FirstOrDefault(nm =>