Tweak everything for APIs to support everything while not changing too much

This commit is contained in:
Igor Katson 2024-04-30 22:47:23 +01:00
parent ebd4731c09
commit fd30ad9cbf
6 changed files with 70 additions and 110 deletions

View file

@ -203,7 +203,12 @@ impl Api {
id: Some(id),
details,
seen_peers: None,
output_folder: "".to_owned(),
output_folder: handle
.info()
.options
.output_folder
.to_string_lossy()
.into_owned(),
}
}
};