TorrentRenamePath: Make fields Optional. We should check parent struct's result instead!

Fix crashing tests.
This commit is contained in:
Quang Ngô 2021-11-15 22:57:48 +07:00 committed by Aleksandr
parent d2e95c5528
commit d114bda4ca

View File

@ -181,9 +181,9 @@ impl RpcResponseArgument for TorrentAdded {}
#[derive(Deserialize, Debug)]
pub struct TorrentRenamePath{
pub path: String,
pub name: String,
pub id: i64
pub path: Option<String>,
pub name: Option<String>,
pub id: Option<i64>,
}
impl RpcResponseArgument for TorrentRenamePath {}