aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/ItemLookupService.cs
diff options
context:
space:
mode:
authorErwin de Haan <EraYaN@users.noreply.github.com>2019-01-26 22:59:53 +0100
committerErwin de Haan <EraYaN@users.noreply.github.com>2019-01-28 22:10:00 +0100
commit581a7fe078002785b9ba628ec139a42d678cdf25 (patch)
treeab536538f4af5293300f8003e964e0828cb320c8 /MediaBrowser.Api/ItemLookupService.cs
parenta430568082b55f2f989924c59e0729808b39226c (diff)
Unwrapped `MoveDirectory`, `DirectoryExists`, `FileExists` & removed `MoveFile`
Diffstat (limited to 'MediaBrowser.Api/ItemLookupService.cs')
-rw-r--r--MediaBrowser.Api/ItemLookupService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Api/ItemLookupService.cs b/MediaBrowser.Api/ItemLookupService.cs
index eaf2d1e1b..ae3f280e8 100644
--- a/MediaBrowser.Api/ItemLookupService.cs
+++ b/MediaBrowser.Api/ItemLookupService.cs
@@ -267,7 +267,7 @@ namespace MediaBrowser.Api
{
contentPath = _fileSystem.ReadAllText(pointerCachePath);
- if (_fileSystem.FileExists(contentPath))
+ if (File.Exists(contentPath))
{
return await ResultFactory.GetStaticFileResult(Request, contentPath).ConfigureAwait(false);
}