mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2025-03-14 12:10:18 +03:00
fix: "405 Method Not Allowed" when renaming torrent (#551)
This commit is contained in:
parent
b2ceda28e5
commit
66dc741825
1 changed files with 1 additions and 6 deletions
|
@ -125,12 +125,7 @@ export class QBitApi {
|
|||
}
|
||||
|
||||
setTorrentName(hash, name) {
|
||||
const params = {
|
||||
hash,
|
||||
name
|
||||
}
|
||||
|
||||
return this.axios.get('/torrents/rename', { params })
|
||||
return this.execute('post', '/torrents/rename', { hash, name })
|
||||
}
|
||||
|
||||
getTorrentPieceStates(hash) {
|
||||
|
|
Loading…
Add table
Reference in a new issue