From 2a77500c6190c00e3783e42ee13042a3476d1ad1 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 3 Apr 2014 18:50:04 -0400 Subject: add latest translations --- MediaBrowser.Api/Library/LibraryService.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'MediaBrowser.Api/Library/LibraryService.cs') 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. /// /// The request. - public async void Post(RefreshLibrary request) + public void Post(RefreshLibrary request) { try { - await _libraryManager.ValidateMediaLibrary(new Progress(), CancellationToken.None) - .ConfigureAwait(false); + _libraryManager.ValidateMediaLibrary(new Progress(), 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); } -- cgit v1.2.3