This commit is contained in:
2023-06-02 20:28:25 +02:00
parent c70167cb13
commit 62d1fa25da

View File

@@ -27,7 +27,7 @@ where
.await? .await?
.error_for_status()?; .error_for_status()?;
Ok(response.json::<T>().await?) Ok(response.json::<T>().await.unwrap())
} }
pub async fn get_book( pub async fn get_book(