aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Library/LibraryService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-04-03 18:50:04 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-04-03 18:50:04 -0400
commit2a77500c6190c00e3783e42ee13042a3476d1ad1 (patch)
tree5f3ec28258c7d392ae2ba2393153eadac98d6b1a /MediaBrowser.Api/Library/LibraryService.cs
parent0200911afc125051b4f5e652ef1bebeca984b571 (diff)
add latest translations
Diffstat (limited to 'MediaBrowser.Api/Library/LibraryService.cs')
-rw-r--r--MediaBrowser.Api/Library/LibraryService.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/MediaBrowser.Api/Library/LibraryService.cs b/MediaBrowser.Api/Library/LibraryService.cs
index 533a92fba..6667ba25c 100644
--- a/MediaBrowser.Api/Library/LibraryService.cs
+++ b/MediaBrowser.Api/Library/LibraryService.cs
@@ -479,12 +479,11 @@ namespace MediaBrowser.Api.Library
/// Posts the specified request.
/// </summary>
/// <param name="request">The request.</param>
- public async void Post(RefreshLibrary request)
+ public void Post(RefreshLibrary request)
{
try
{
- await _libraryManager.ValidateMediaLibrary(new Progress<double>(), CancellationToken.None)
- .ConfigureAwait(false);
+ _libraryManager.ValidateMediaLibrary(new Progress<double>(), CancellationToken.None);
}
catch (Exception ex)
{
@@ -513,7 +512,7 @@ namespace MediaBrowser.Api.Library
{
throw new UnauthorizedAccessException("This operation requires a logged in user with delete access.");
}
-
+
return _libraryManager.DeleteItem(item);
}