mirror of
https://github.com/Drop-OSS/drop
synced 2026-08-27 14:23:05 -04:00
Fix incompatiblities with server/develop
This commit is contained in:
parent
b5e5fc0c77
commit
55fdaf51e1
2 changed files with 3 additions and 8 deletions
|
|
@ -106,8 +106,8 @@ pub fn auth_initiate_logic(mode: String) -> Result<String, RemoteAccessError> {
|
|||
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,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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<GameVersion> = response.json().await?;
|
||||
|
||||
let state_lock = state.lock();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue