diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-02-03 23:04:19 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-02-03 23:04:19 -0500 |
| commit | 351cfef7a70ef311801be0bc9eb9e3891265d22b (patch) | |
| tree | edb841c6b311a1c13c4c70cbd4ed08e9129fac78 /MediaBrowser.Api/Library/LibraryService.cs | |
| parent | 48b9f657a4d163e4be32c1641907fc429481aa85 (diff) | |
use conditional caching on some json responses
Diffstat (limited to 'MediaBrowser.Api/Library/LibraryService.cs')
| -rw-r--r-- | MediaBrowser.Api/Library/LibraryService.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Api/Library/LibraryService.cs b/MediaBrowser.Api/Library/LibraryService.cs index f3d5824da..79b2651d5 100644 --- a/MediaBrowser.Api/Library/LibraryService.cs +++ b/MediaBrowser.Api/Library/LibraryService.cs @@ -77,7 +77,7 @@ namespace MediaBrowser.Api.Library { try { - return c.ResolveArgs.PhysicalLocations; + return c.PhysicalLocations; } catch (Exception ex) { @@ -90,7 +90,7 @@ namespace MediaBrowser.Api.Library }) .ToList(); - return ToOptimizedResult(result); + return ToOptimizedSerializedResultUsingCache(result); } /// <summary> |
