mirror of
https://github.com/Radarr/Radarr.git
synced 2024-07-07 12:31:32 +02:00
Fixed: Delay profiles reordering
This commit is contained in:
parent
db1fee8d8a
commit
3b5078d117
@ -71,5 +71,13 @@ public List<DelayProfileResource> GetAll()
|
||||
{
|
||||
return _delayProfileService.All().ToResource();
|
||||
}
|
||||
|
||||
[HttpPut("reorder/{id}")]
|
||||
public List<DelayProfileResource> Reorder([FromRoute] int id, [FromQuery] int? after)
|
||||
{
|
||||
ValidateId(id);
|
||||
|
||||
return _delayProfileService.Reorder(id, after).ToResource();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user