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

WebUI: fix the url for banPeers method
This commit is contained in:
Mike Tzou
2020-07-04 12:04:10 +08:00
committed by GitHub

View File

@@ -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: {