added dates, clippy fixes, sync date improvement
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
pub async fn logout() -> String {
|
||||
format!("logout view")
|
||||
"logout view".to_string()
|
||||
}
|
||||
|
||||
+1
-2
@@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user