mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 11:34:57 +02:00
update sync
This commit is contained in:
parent
c1e8d85bca
commit
f450ce4e14
1 changed files with 2 additions and 1 deletions
|
@ -67,6 +67,7 @@ namespace MediaBrowser.Api.Sync
|
|||
}
|
||||
|
||||
[Route("/Sync/Items/Cancel", "POST", Summary = "Cancels items from a sync target")]
|
||||
[Route("/Sync/{TargetId}/Items", "DELETE", Summary = "Cancels items from a sync target")]
|
||||
public class CancelItems : IReturnVoid
|
||||
{
|
||||
[ApiMember(Name = "TargetId", Description = "TargetId", IsRequired = false, DataType = "string", ParameterType = "query", Verb = "Items")]
|
||||
|
@ -211,7 +212,7 @@ namespace MediaBrowser.Api.Sync
|
|||
return ToOptimizedResult(result);
|
||||
}
|
||||
|
||||
public void Delete(CancelItems request)
|
||||
public void Any(CancelItems request)
|
||||
{
|
||||
var itemIds = request.ItemIds.Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries);
|
||||
|
||||
|
|
Loading…
Reference in a new issue