mirror of
https://github.com/C9Glax/tranga.git
synced 2025-06-15 15:57:54 +02:00
wrong array
This commit is contained in:
@ -60,7 +60,7 @@ public static class Migrator
|
|||||||
if (kavitaNode is not null)
|
if (kavitaNode is not null)
|
||||||
lms.Add(new Kavita(kavitaNode["baseUrl"]!.GetValue<string>(), kavitaNode["auth"]!.GetValue<string>(), 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 =>
|
JsonNode? gotifyNode = notificationManagers.FirstOrDefault(nm =>
|
||||||
nm["notificationManagerType"].GetValue<byte>() == (byte)NotificationManager.NotificationManagerType.Gotify);
|
nm["notificationManagerType"].GetValue<byte>() == (byte)NotificationManager.NotificationManagerType.Gotify);
|
||||||
JsonNode? lunaSeaNode = notificationManagers.FirstOrDefault(nm =>
|
JsonNode? lunaSeaNode = notificationManagers.FirstOrDefault(nm =>
|
||||||
|
Reference in New Issue
Block a user