Dependency name change (#3)
songparser / Check (push) Successful in 4m36s
songparser / build (push) Successful in 2m30s
songparser / Rustfmt (push) Successful in 3m40s
songparser / Clippy (push) Successful in 5m16s

Reviewed-on: #3
This commit was merged in pull request #3.
This commit is contained in:
2026-07-21 15:30:18 -04:00
parent 9372b8ea07
commit 4da7cc7b1c
16 changed files with 187 additions and 177 deletions
+3 -3
View File
@@ -1,12 +1,12 @@
pub async fn get_token(
app: &crate::config::App,
) -> Result<icarus_models::login_result::LoginResult, std::io::Error> {
) -> Result<simodels::login_result::LoginResult, std::io::Error> {
let client = reqwest::Client::new();
let endpoint = String::from("api/v2/service/login");
let api_url = format!("{}/{endpoint}", app.auth_uri);
let payload = serde_json::json!({
"passphrase": icarus_envy::environment::get_service_passphrase().value,
"passphrase": sienvy::environment::get_service_passphrase().value,
});
match client.post(api_url).json(&payload).send().await {
@@ -29,7 +29,7 @@ pub async fn get_token(
pub async fn get_refresh_token(
app: &crate::config::App,
) -> Result<icarus_models::login_result::LoginResult, std::io::Error> {
) -> Result<simodels::login_result::LoginResult, std::io::Error> {
let client = reqwest::Client::new();
let endpoint = String::from("api/v2/token/refresh");
let api_url = format!("{}/{endpoint}", app.auth_uri);