From 3b5078d1177e50a6ae4664eed0edef543104e6ec Mon Sep 17 00:00:00 2001 From: Bogdan Date: Mon, 29 Apr 2024 01:18:40 +0300 Subject: [PATCH] Fixed: Delay profiles reordering --- .../Profiles/Delay/DelayProfileController.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Radarr.Api.V3/Profiles/Delay/DelayProfileController.cs b/src/Radarr.Api.V3/Profiles/Delay/DelayProfileController.cs index 4de0e7efb..cd472e1d7 100644 --- a/src/Radarr.Api.V3/Profiles/Delay/DelayProfileController.cs +++ b/src/Radarr.Api.V3/Profiles/Delay/DelayProfileController.cs @@ -71,5 +71,13 @@ namespace Radarr.Api.V3.Profiles.Delay { return _delayProfileService.All().ToResource(); } + + [HttpPut("reorder/{id}")] + public List Reorder([FromRoute] int id, [FromQuery] int? after) + { + ValidateId(id); + + return _delayProfileService.Reorder(id, after).ToResource(); + } } }