Some refactoring

This commit is contained in:
phoenix
2025-03-13 20:49:29 -04:00
parent c76e7b71b5
commit b2e246d175
4 changed files with 4 additions and 29 deletions
+2
View File
@@ -175,6 +175,7 @@ impl CommitManager {
let api = prsr.retrieve_api();
let token = self.parse_token(&api);
println!("Message: {}", token.message.clone().unwrap());
let mut dwn_loader = syncers::download::Download { api: api.clone() };
let mut song = models::song::Song::default();
@@ -248,6 +249,7 @@ impl CommitManager {
// new_usr.password = usr_mgr.user.password.clone();
println!("Username: {}", usr_mgr.user.username);
println!("Other: {}", usr_mgr.user.id);
let usr = usr_mgr.retrieve_user();
let mut tok_mgr = managers::token_manager::TokenManager {
+1 -1
View File
@@ -66,7 +66,7 @@ impl TokenManager {
let api = &self.api;
let mut url = String::from(&api.url);
url += &String::from(&api.endpoint);
url += &String::from("/");
// url += &String::from("/");
return url;
}