From 5575a5a4744340c8e8a813bc79c0e0926e7b3315 Mon Sep 17 00:00:00 2001 From: Mikal Stordal Date: Wed, 10 Jul 2024 17:24:43 +0200 Subject: [PATCH] fix: populate all lookup tables before returning --- Shokofin/API/ShokoAPIManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shokofin/API/ShokoAPIManager.cs b/Shokofin/API/ShokoAPIManager.cs index e76fb083..06081d58 100644 --- a/Shokofin/API/ShokoAPIManager.cs +++ b/Shokofin/API/ShokoAPIManager.cs @@ -982,9 +982,9 @@ public bool TryGetDefaultSeriesIdForSeriesId(string seriesId, [NotNullWhen(true) PathToSeriesIdDictionary[path] = primaryId; SeriesIdToPathDictionary.TryAdd(primaryId, path); - - return primaryId; } + + return primaryId; } // In the edge case for series with only files with multiple