fixup! Make expires_in u32 and (on regenerate) not default to the same as last time

This commit is contained in:
Olivier 'reivilibre
2025-10-21 11:21:00 +01:00
parent 9c88510540
commit 4a6c2b0484

View File

@@ -140,7 +140,7 @@ pub async fn handler(
&access_token_string,
params
.expires_in
.map(|exp_in| Duration::seconds(i64::try_from(exp_in).unwrap_or(i64::MAX))),
.map(|exp_in| Duration::seconds(i64::from(exp_in))),
)
.await?;