aboutsummaryrefslogtreecommitdiff
path: root/azalea-auth/src/certs.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2024-08-15 23:33:23 +0000
committermat <git@matdoes.dev>2024-08-15 23:33:23 +0000
commite485cf550183445e5f063c6da078c97e9b66497f (patch)
tree17827909e5785733e82e7d0279515bd6aa9209e9 /azalea-auth/src/certs.rs
parent74831abbe4f9d2a2eabbfe0a3a44874d9f49135b (diff)
downloadazalea-drasl-e485cf550183445e5f063c6da078c97e9b66497f.tar.xz
fix incorrect comment in with_microsoft_access_token docs
Diffstat (limited to 'azalea-auth/src/certs.rs')
-rw-r--r--azalea-auth/src/certs.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/azalea-auth/src/certs.rs b/azalea-auth/src/certs.rs
index 6214142b..9f9147a8 100644
--- a/azalea-auth/src/certs.rs
+++ b/azalea-auth/src/certs.rs
@@ -3,6 +3,7 @@ use chrono::{DateTime, Utc};
use rsa::{pkcs8::DecodePrivateKey, RsaPrivateKey};
use serde::Deserialize;
use thiserror::Error;
+use tracing::trace;
#[derive(Debug, Error)]
pub enum FetchCertificatesError {
@@ -26,7 +27,7 @@ pub async fn fetch_certificates(
.await?
.json::<CertificatesResponse>()
.await?;
- tracing::trace!("{:?}", res);
+ trace!("{:?}", res);
// using RsaPrivateKey::from_pkcs8_pem gives an error with decoding base64 so we
// just decode it ourselves