From 01c8784bab40e1f33485865ef5ae732643966474 Mon Sep 17 00:00:00 2001 From: glax Date: Mon, 31 Jul 2023 01:30:32 +0200 Subject: [PATCH] wrong array --- Tranga/Migrator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 =>