Fix fetching commits from API

This commit is contained in:
Brian Bowman
2022-07-02 00:38:50 -05:00
parent 29716c43b6
commit 5d2f803f3c
4 changed files with 1 additions and 12 deletions

View File

@@ -42,7 +42,6 @@ fn main() {
disconnect,
req_get,
get_bg_file,
base64_decode,
is_game_running,
get_theme_list,
system_helpers::run_command,
@@ -233,9 +232,3 @@ async fn get_bg_file(bg_path: String, appdata: String) -> String {
}
};
}
#[tauri::command]
fn base64_decode(encoded: String) -> String {
let decoded = base64::decode(&encoded).unwrap();
return String::from_utf8(decoded).unwrap();
}