Warning fixes (#54)

* More warning fixes

* Should be the last of the warning fixes

* Code cleanup

* Code formatting
This commit was merged in pull request #54.
This commit is contained in:
KD
2025-07-02 19:25:08 -04:00
committed by GitHub
parent 8b2b2f82e9
commit dbcfcfa109
14 changed files with 135 additions and 217 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ use crate::syncers;
#[derive(Default)]
pub struct Upload {
pub api: models::api::API,
pub api: models::api::Api,
}
impl Upload {
@@ -83,7 +83,7 @@ impl Upload {
}
pub fn set_api(&mut self, host: &str) {
let api = models::api::API {
let api = models::api::Api {
url: host.to_owned(),
version: String::from("v1"),
endpoint: String::new(),