From 55fdaf51e1aec1c4508c219a2ec96ad5af3c8a94 Mon Sep 17 00:00:00 2001 From: DecDuck Date: Sun, 11 Jan 2026 13:03:35 +1100 Subject: [PATCH] Fix incompatiblities with server/develop --- desktop/src-tauri/remote/src/auth.rs | 4 ++-- desktop/src-tauri/src/games.rs | 7 +------ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/desktop/src-tauri/remote/src/auth.rs b/desktop/src-tauri/remote/src/auth.rs index bb41ed0f..cc24b7ea 100644 --- a/desktop/src-tauri/remote/src/auth.rs +++ b/desktop/src-tauri/remote/src/auth.rs @@ -106,8 +106,8 @@ pub fn auth_initiate_logic(mode: String) -> Result { name: format!("{} (Desktop)", hostname.display()), platform: env::consts::OS.to_string(), capabilities: HashMap::from([ - ("PeerAPI".to_owned(), CapabilityConfiguration {}), - ("CloudSaves".to_owned(), CapabilityConfiguration {}), + ("peerAPI".to_owned(), CapabilityConfiguration {}), + ("cloudSaves".to_owned(), CapabilityConfiguration {}), ]), mode, }; diff --git a/desktop/src-tauri/src/games.rs b/desktop/src-tauri/src/games.rs index ba4f2796..2bbc3afc 100644 --- a/desktop/src-tauri/src/games.rs +++ b/desktop/src-tauri/src/games.rs @@ -223,12 +223,7 @@ pub async fn fetch_game_version_options_logic( warn!("{err:?}"); return Err(RemoteAccessError::InvalidResponse(err)); } - - let raw = response.text().await?; - info!("{}", raw); - - return Err(RemoteAccessError::CorruptedState); - + let data: Vec = response.json().await?; let state_lock = state.lock();