Skip to content

Commit

Permalink
Merge pull request #66 from Sebclem/fix/alternative_speed_post
Browse files Browse the repository at this point in the history
Fix toggle_alternative_speed using GET instead of POST
  • Loading branch information
DEADSEC-SECURITY authored Mar 15, 2024
2 parents e87f1c6 + 55268f4 commit 103b876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qbittorrent/Client.py
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ def toggle_alternative_speed(self):
"""
Toggle alternative speed limits.
"""
return self._get("transfer/toggleSpeedLimitsMode")
return self._post("transfer/toggleSpeedLimitsMode", data={})

def toggle_sequential_download(self, infohash_list):
"""
Expand Down

0 comments on commit 103b876

Please sign in to comment.