mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 05:47:14 -04:00
fixes #327 - Delete immediately update library
This commit is contained in:
parent
adab6e21e5
commit
888d5ee836
@ -295,7 +295,14 @@ namespace MediaBrowser.Api
|
||||
/// Deletes the specified request.
|
||||
/// </summary>
|
||||
/// <param name="request">The request.</param>
|
||||
public async void Delete(DeleteItem request)
|
||||
public void Delete(DeleteItem request)
|
||||
{
|
||||
var task = DeleteItem(request);
|
||||
|
||||
Task.WaitAll(task);
|
||||
}
|
||||
|
||||
private async Task DeleteItem(DeleteItem request)
|
||||
{
|
||||
var item = DtoBuilder.GetItemByClientId(request.Id, _userManager, _libraryManager);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user