aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/LibraryStructureController.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Jellyfin.Api/Controllers/LibraryStructureController.cs')
-rw-r--r--Jellyfin.Api/Controllers/LibraryStructureController.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Api/Controllers/LibraryStructureController.cs b/Jellyfin.Api/Controllers/LibraryStructureController.cs
index 5cd6dada19..83684f1b91 100644
--- a/Jellyfin.Api/Controllers/LibraryStructureController.cs
+++ b/Jellyfin.Api/Controllers/LibraryStructureController.cs
@@ -189,8 +189,8 @@ public class LibraryStructureController : BaseJellyfinApiController
Directory.Move(currentPath, newPath);
- // The directory caches are shared, so the validation below would otherwise resolve the
- // libraries root from a listing taken before the folder was moved.
+ // The validation below would otherwise resolve the libraries root from a listing taken
+ // before the folder was moved.
_directoryService.Invalidate(currentPath);
_directoryService.Invalidate(newPath);
}