aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Shares/API/Controllers/SharesController.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/slskd/Shares/API/Controllers/SharesController.cs')
-rw-r--r--src/slskd/Shares/API/Controllers/SharesController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Shares/API/Controllers/SharesController.cs b/src/slskd/Shares/API/Controllers/SharesController.cs
index 8ae8551f..41178bac 100644
--- a/src/slskd/Shares/API/Controllers/SharesController.cs
+++ b/src/slskd/Shares/API/Controllers/SharesController.cs
@@ -59,7 +59,7 @@ namespace slskd.Shares.API
{
var browse = await Shares.BrowseAsync();
- var summary = Shares.Shares.Select(share =>
+ var summary = Shares.CachedShares.Select(share =>
{
var directories = browse.Where(directory => directory.Name.StartsWith(share.RemotePath));
var fileCount = directories.Aggregate(seed: 0, (sum, directory) =>