mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-29 05:48:47 +03:00
parent
0fda49c060
commit
88f2a66aac
1 changed files with 3 additions and 3 deletions
|
@ -292,9 +292,9 @@ void WebApplication::doProcessRequest()
|
|||
{"query/propertiesFiles", {"torrents", "files", nullptr}},
|
||||
{"query/getPieceHashes", {"torrents", "pieceHashes", nullptr}},
|
||||
{"query/getPieceStates", {"torrents", "pieceStates", nullptr}},
|
||||
{"command/resume", {"torrents", "resume", nullptr}},
|
||||
{"command/pause", {"torrents", "pause", nullptr}},
|
||||
{"command/recheck", {"torrents", "recheck", nullptr}},
|
||||
{"command/resume", {"torrents", "resume", [this]() { m_params["hashes"] = m_params.take("hash"); }}},
|
||||
{"command/pause", {"torrents", "pause", [this]() { m_params["hashes"] = m_params.take("hash"); }}},
|
||||
{"command/recheck", {"torrents", "recheck", [this]() { m_params["hashes"] = m_params.take("hash"); }}},
|
||||
{"command/resumeAll", {"torrents", "resume", [this]() { m_params["hashes"] = "all"; }}},
|
||||
{"command/pauseAll", {"torrents", "pause", [this]() { m_params["hashes"] = "all"; }}},
|
||||
{"command/rename", {"torrents", "rename", nullptr}},
|
||||
|
|
Loading…
Reference in a new issue