Xuanwo commented on code in PR #634:
URL: https://github.com/apache/opendal-reqsign/pull/634#discussion_r2371395604


##########
services/aws-v4/src/provide_credential/sso.rs:
##########
@@ -218,11 +218,11 @@ impl SSOCredentialProvider {
                 })?;
 
                 // Check if token is expired
-                let expires_at: DateTime<Utc> = 
token.expires_at.parse().map_err(|e| {
+                let expires_at = 
token.expires_at.parse::<DateTime>().map_err(|e| {

Review Comment:
   I like this idea.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to