diff --git a/src/api2/node/tasks.rs b/src/api2/node/tasks.rs index ffdfec81..4d703b18 100644 --- a/src/api2/node/tasks.rs +++ b/src/api2/node/tasks.rs @@ -369,7 +369,7 @@ pub fn list_tasks( rpcenv["total"] = Value::from(count); - Ok(result.into()) + Ok(result) } #[sortable]