refactor: api cleanup

This commit is contained in:
zhom
2026-07-11 21:37:41 +04:00
parent 53db00a85a
commit ae8afbb158
27 changed files with 604 additions and 531 deletions
+1 -1
View File
@@ -278,7 +278,7 @@ impl ApiClient {
{
Ok(response) => {
if !response.status().is_success() {
last_err = Some(format!("HTTP {}", response.status()));
last_err = Some(format!("HTTP {}", response.status().as_u16()));
} else {
match response.json::<WayfernVersionInfo>().await {
Ok(info) => {