Moving away from API/CLI model, combined into single executable. #49

Merged
glax merged 19 commits from cuttingedge into master 2023-07-31 01:53:51 +02:00
Showing only changes of commit 01c8784bab - Show all commits

View File

@ -60,7 +60,7 @@ public static class Migrator
if (kavitaNode is not null)
lms.Add(new Kavita(kavitaNode["baseUrl"]!.GetValue<string>(), kavitaNode["auth"]!.GetValue<string>(), null));
JsonArray notificationManagers = node["libraryManagers"]!.AsArray();
JsonArray notificationManagers = node["notificationManagers"]!.AsArray();
JsonNode? gotifyNode = notificationManagers.FirstOrDefault(nm =>
nm["notificationManagerType"].GetValue<byte>() == (byte)NotificationManager.NotificationManagerType.Gotify);
JsonNode? lunaSeaNode = notificationManagers.FirstOrDefault(nm =>