Make cachePublications a dictionary with internalId as key.

This commit is contained in:
2024-04-22 22:38:23 +02:00
parent 79e61a62c7
commit daba940b45
10 changed files with 15 additions and 13 deletions

View File

@ -116,7 +116,7 @@ public class Bato : MangaConnector
Manga manga = new (sortName, authors, description, altTitles, tags, posterUrl, coverFileNameInCache, new Dictionary<string, string>(),
year, originalLanguage, publicationId, releaseStatus, websiteUrl: websiteUrl);
cachedPublications.Add(manga);
cachedPublications.Add(manga.internalId, manga);
return manga;
}