Commit 5a91c3d
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
0 commit comments