tsk-83: Add token code prior to action execution #91

Merged
kdeng00 merged 5 commits from tsk-83 into main 2025-10-26 16:39:16 -04:00
Showing only changes of commit 37bc71a708 - Show all commits
+1 -5
View File
@@ -88,13 +88,9 @@ impl CommitManager {
println!("Committing {action} action");
let mapped_actions = &self.map_actions();
let mapped_action = self.find_mapped_action(mapped_actions, action);
println!("{mapped_action:?}");
// TODO: Move code to get token here and then pass it to the respective functions
match mapped_action {
match self.find_mapped_action(mapped_actions, action) {
ActionValues::DeleteAct => self.delete_song().await,
ActionValues::DownloadAct => self.download_song().await,
ActionValues::RetrieveAct => self.retrieve_object().await,