Replace use of deprecated URL to string function

See https://gitlab.com/timvisee/ffsend/-/issues/110
This commit is contained in:
timvisee 2021-05-09 17:37:20 +02:00
parent e440f4b68a
commit 22c53316ab
No known key found for this signature in database
GPG key ID: B8DB720BC383E172

View file

@ -120,11 +120,8 @@ impl<'a> History<'a> {
}; };
// Define the cell values // Define the cell values
let mut cells: Vec<String> = vec![ let mut cells: Vec<String> =
format!("{}", i + 1), vec![format!("{}", i + 1), file.download_url(true).into(), expiry];
file.download_url(true).into_string(),
expiry,
];
if matcher_main.verbose() { if matcher_main.verbose() {
cells.push(owner_token); cells.push(owner_token);
} }