Compare commits

..

1 Commits

Author SHA1 Message Date
7cd33e6498 Update Rust crate reqwest to v0.12.22
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2025-07-02 00:08:57 +00:00
3 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ impl Error for StateError {}
impl fmt::Display for StateError { impl fmt::Display for StateError {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "StateManager error {self:?}") write!(f, "StateManager error {:?}", self)
} }
} }

View File

@ -38,7 +38,7 @@ impl OpenIDConfig {
code: &str, code: &str,
redirect_uri: &str, redirect_uri: &str,
) -> Result<(OpenIDTokenResponse, String), Box<dyn Error>> { ) -> Result<(OpenIDTokenResponse, String), Box<dyn Error>> {
let authorization = BASE64_STANDARD.encode(format!("{client_id}:{client_secret}")); let authorization = BASE64_STANDARD.encode(format!("{}:{}", client_id, client_secret));
let mut params = HashMap::new(); let mut params = HashMap::new();
params.insert("grant_type", "authorization_code"); params.insert("grant_type", "authorization_code");

View File

@ -56,7 +56,7 @@ impl CryptoWrapper {
let dec = match aes_key.decrypt(Nonce::from_slice(nonce), enc) { let dec = match aes_key.decrypt(Nonce::from_slice(nonce), enc) {
Ok(d) => d, Ok(d) => d,
Err(e) => { Err(e) => {
log::error!("Failed to decrypt wrapped data! {e:#?}"); log::error!("Failed to decrypt wrapped data! {:#?}", e);
return Err(Box::new(std::io::Error::other( return Err(Box::new(std::io::Error::other(
"Failed to decrypt wrapped data!", "Failed to decrypt wrapped data!",
))); )));