Skip to content

Commit

Permalink
Fix the "Force-refresh all" powershell request examples in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aannenko authored Oct 4, 2024
1 parent 0431750 commit 5a97974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ iwr http://<docker_host>:9092/api/v1/torrents -Method Post -ContentType applicat
iwr http://<docker_host>:9092/api/v1/torrents/3 -Method Post -ContentType application/json
# Force-refresh all torrents which are still known to Transmission
iwr http://<docker_host>:9092/api/v1/torrents | ConvertFrom-Json | % { iwr "http://<docker_host>:9092/api/v1/torrents/$($_.id)" -Method Post -ContentType application/json }
(iwr http://<docker_host>:9092/api/v1/torrents | ConvertFrom-Json).torrents | % { iwr "http://<docker_host>:9092/api/v1/torrents/$($_.id)" -Method Post -ContentType application/json }
# Unregister torrent #5 from Transmission Manager but do not touch it in Transmission
iwr http://<docker_host>:9092/api/v1/torrents/5 -Method Delete
Expand Down

0 comments on commit 5a97974

Please sign in to comment.