Skip to content

Commit 773e719

Browse files
bakerboy448nzxl101
authored andcommitted
fix(templates): radarr/nabarr grants sonarr-only importlistexclusion endpoint
radarr/nabarr.json includes /api/v3/importlistexclusion and /api/v3/importlistexclusion/{id}, which do not exist on Radarr — that route name is Sonarr's ImportListExclusionController ([V3ApiController] with no route override, so it defaults to the controller name). Radarr's own exclusions controller explicitly overrides its route to "exclusions" ([V3ApiController("exclusions")]), which is already correctly granted in this same file. Confirmed via Radarr/Sonarr source (ImportListExclusionController.cs in both repos) and via nabarr's own client (l3uddz/nabarr): the Radarr client only ever calls GET /exclusions, the Sonarr client only ever calls GET /importlistexclusion — never both on the same arr type. Removing the dead Sonarr-shaped grant from the Radarr template.
1 parent 8b2ccef commit 773e719

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

root/app/www/public/templates/radarr/nabarr.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,6 @@
88
"delete",
99
"get"
1010
],
11-
"/api/v3/importlistexclusion": [
12-
"get",
13-
"post"
14-
],
15-
"/api/v3/importlistexclusion/{id}": [
16-
"put"
17-
],
1811
"/api/v3/movie": [
1912
"get",
2013
"post"

0 commit comments

Comments
 (0)