1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-23 13:04:23 +00:00

WebUI: fix the url for banPeers method

This commit is contained in:
brvphoenix 2020-07-03 01:17:06 -07:00
parent ca8654d380
commit 4d9c6b9f02

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]')) { if (confirm('QBT_TR(Are you sure you want to permanently ban the selected peers?)QBT_TR[CONTEXT=PeerListWidget]')) {
new Request({ new Request({
url: 'api/v2/torrents/banPeers', url: 'api/v2/transfer/banPeers',
noCache: true, noCache: true,
method: 'post', method: 'post',
data: { data: {