Skip to content

Commit e6f9ad8

Browse files
committed
Fix cargo fmt
1 parent 32e1ebf commit e6f9ad8

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

crates/smbcloud-gresiq-sdk/src/onde_apps.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,13 @@ pub async fn list_models(
172172
.header("Content-Type", "application/json")
173173
.send()
174174
.await?;
175-
Ok(check(response).await?.json::<ModelsEnvelope>().await?.models)
175+
Ok(check(response)
176+
.await?
177+
.json::<ModelsEnvelope>()
178+
.await?
179+
.models)
176180
}
177181

178-
179182
/// Rename an existing app.
180183
///
181184
/// `PATCH /v1/client/gresiq/apps/{onde_app_id}` — body: `{ "gresiq_app": { "name": "..." } }`

crates/smbcloud-gresiq-sdk/src/smbcloud_gresiq_sdk.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,7 @@ mod onde_apps;
4343
pub use client::GresiqClient;
4444
pub use client_credentials::{base_url, GresiqCredentials};
4545
pub use error::GresiqError;
46-
pub use onde_apps::{assign_model, create_app, list_apps, list_models, rename_app, OndeApp, OndeModel};
46+
pub use onde_apps::{
47+
assign_model, create_app, list_apps, list_models, rename_app, OndeApp, OndeModel,
48+
};
4749
pub use smbcloud_network::environment::Environment;

0 commit comments

Comments
 (0)