diff --git a/Cargo.toml b/Cargo.toml index afe6735..339248b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,9 +29,9 @@ rocket = ["dep:rocket", "octocrab"] thiserror = "1" serde = { version = "1.0", features = ["derive"] } serde_json = "1" -tracing = "0.1.40" +tracing = "0.1" jsonwebtoken = "9.3" -octocrab = { version = "^0.39", optional = true } +octocrab = { version = "^0.41", optional = true } # Signature verification hmac = "0.12" sha2 = "0.10" diff --git a/src/config.rs b/src/config.rs index e367e7b..80bf696 100644 --- a/src/config.rs +++ b/src/config.rs @@ -127,7 +127,7 @@ impl OctoAppConfig { Ok(octocrab::Octocrab::builder() .app(octocrab::models::AppId(self.app_id as u64), key.clone()) .build()? - .installation(octocrab::models::InstallationId(*installation_id))) + .installation(octocrab::models::InstallationId(*installation_id))?) } else { Err(crate::OctoAppError::MissingField( "Client Private Key".to_string(), @@ -147,7 +147,7 @@ impl OctoAppConfig { Ok(octocrab::OctocrabBuilder::new() .app(octocrab::models::AppId(self.app_id as u64), key.clone()) .build()? - .installation(inst.id)) + .installation(inst.id)?) } else { Ok(octocrab::OctocrabBuilder::new() .app(octocrab::models::AppId(self.app_id as u64), key.clone())