added dates, clippy fixes, sync date improvement

This commit is contained in:
2023-11-14 19:09:21 +01:00
parent ea754b6f3e
commit 91eeb29b06
6 changed files with 49 additions and 8 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
pub async fn logout() -> String {
format!("logout view")
"logout view".to_string()
}
+1 -2
View File
@@ -8,10 +8,9 @@ impl Path {
match self.backend {
true => {
let path: String = self.prefix.to_owned() + &following_path;
return String::from("/api/v1") + &path;
String::from("/api/v1") + &path
}
false => self.prefix.to_owned() + &following_path,
}
}
}