Send inventory to rust

This commit is contained in:
Bianca Fürstenau 2025-02-16 16:01:14 +01:00
parent 43bcfac938
commit e4dc811434
4 changed files with 16 additions and 6 deletions

View file

@ -55,7 +55,7 @@ impl easy::Handler for Collector {
}
}
pub fn data_client(file: &str) -> Result<Easy2<Collector>, ()> {
fn data_client(file: &str) -> Result<Easy2<Collector>, ()> {
let mut client = Easy2::new(Collector(Vec::new(), Vec::new(), 0));
let url = format!(
"https://cloud.seebruecke.org/public.php/webdav/data/{}",