Skip to content

Commit 5a91c3d

Browse files
bakerboy448nzxl101
authored andcommitted
fix(templates): radarr/prowlarr grants POST on indexer/{id}, sonarr doesn't
radarr/prowlarr.json grants get+put+post on /api/v3/indexer/{id}; sonarr/prowlarr.json (same consumer) grants only get+put on the same route shape. Prowlarr's own sync client (RadarrV3Proxy.cs in NzbDrone.Core/Applications/Radarr) POSTs only to the bare /api/v3/indexer collection to create an indexer, and PUTs to /api/v3/indexer/{id} to update one — it never POSTs to the {id} route. Removing the extra grant to match the real call pattern and sonarr/prowlarr.json's scope.
1 parent a6de874 commit 5a91c3d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
],
66
"/api/v3/indexer/{id}": [
77
"put",
8-
"get",
9-
"post"
8+
"get"
109
],
1110
"/api/v3/indexer/schema": [
1211
"get"

0 commit comments

Comments
 (0)