diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-11-10 16:06:00 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-11-10 16:06:00 -0500 |
| commit | abb7bb4fd2b244d0ad813695af7d75ea3bfa80d3 (patch) | |
| tree | 1e203f9b6871bd0c279dc1ba101aee60ee2c99fb /MediaBrowser.Api/Social/SharingService.cs | |
| parent | 9b891f2c9a4f37e2a914dc8fc5faba4e919e2b8f (diff) | |
resolve mono build failure
Diffstat (limited to 'MediaBrowser.Api/Social/SharingService.cs')
| -rw-r--r-- | MediaBrowser.Api/Social/SharingService.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Api/Social/SharingService.cs b/MediaBrowser.Api/Social/SharingService.cs index 86fe0a136..37941bd4a 100644 --- a/MediaBrowser.Api/Social/SharingService.cs +++ b/MediaBrowser.Api/Social/SharingService.cs @@ -146,14 +146,14 @@ namespace MediaBrowser.Api.Social { if (image.IsLocalFile) { - return _resultFactory.GetStaticFileResult(Request, image.Path); + return await _resultFactory.GetStaticFileResult(Request, image.Path).ConfigureAwait(false); } try { // Don't fail the request over this var updatedImage = await _libraryManager.ConvertImageToLocal(item, image, 0).ConfigureAwait(false); - return _resultFactory.GetStaticFileResult(Request, updatedImage.Path); + return await _resultFactory.GetStaticFileResult(Request, updatedImage.Path).ConfigureAwait(false); } catch { |
