From 351cfef7a70ef311801be0bc9eb9e3891265d22b Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 3 Feb 2014 23:04:19 -0500 Subject: use conditional caching on some json responses --- MediaBrowser.Api/Library/LibraryService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'MediaBrowser.Api/Library/LibraryService.cs') 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); } /// -- cgit v1.2.3