Browse Source

Merge pull request #13097 from brvphoenix/fix-webui-api

WebUI: fix the url for banPeers method
adaptive-webui-19844
Mike Tzou 5 years ago committed by GitHub
parent
commit
778f1f4b6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/webui/www/private/scripts/prop-peers.js

2
src/webui/www/private/scripts/prop-peers.js

@ -143,7 +143,7 @@ window.qBittorrent.PropPeers = (function() { @@ -143,7 +143,7 @@ window.qBittorrent.PropPeers = (function() {
if (confirm('QBT_TR(Are you sure you want to permanently ban the selected peers?)QBT_TR[CONTEXT=PeerListWidget]')) {
new Request({
url: 'api/v2/torrents/banPeers',
url: 'api/v2/transfer/banPeers',
noCache: true,
method: 'post',
data: {

Loading…
Cancel
Save