diff --git a/DtoImporterService/UNTESTED/CategoryImporter.cs b/DtoImporterService/UNTESTED/CategoryImporter.cs index 402b0711..d9a747fb 100644 --- a/DtoImporterService/UNTESTED/CategoryImporter.cs +++ b/DtoImporterService/UNTESTED/CategoryImporter.cs @@ -51,6 +51,10 @@ namespace DtoImporterService { for (var i = 0; i < pair.Length; i++) { + // not yet supported: depth beyond 0 and 1 + if (i > 1) + break; + var id = pair[i].CategoryId; var name = pair[i].CategoryName; diff --git a/InternalUtilities/UNTESTED/AudibleApiValidators.cs b/InternalUtilities/UNTESTED/AudibleApiValidators.cs index 7d492bf3..9905c375 100644 --- a/InternalUtilities/UNTESTED/AudibleApiValidators.cs +++ b/InternalUtilities/UNTESTED/AudibleApiValidators.cs @@ -51,9 +51,6 @@ namespace InternalUtilities if (distinct.Any(s => s.CategoryName is null)) exceptions.Add(new ArgumentException($"Collection contains {nameof(Item.Categories)} with null {nameof(Ladder.CategoryName)}", nameof(items))); - if (items.GetCategoryPairsDistinct().Any(p => p.Length > 2)) - exceptions.Add(new ArgumentException($"Collection contains {nameof(Item.Categories)} with wrong number of categories. Expecting 0, 1, or 2 categories per title", nameof(items))); - return exceptions; } } diff --git a/LibationLauncher/LibationLauncher.csproj b/LibationLauncher/LibationLauncher.csproj index 971741da..5c0cc9d1 100644 --- a/LibationLauncher/LibationLauncher.csproj +++ b/LibationLauncher/LibationLauncher.csproj @@ -13,7 +13,7 @@ win-x64 - 3.1.9.1 + 3.1.10.1