diff options
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 { |
