Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
bytedream committed Mar 10, 2024
1 parent 8480e2d commit a100cfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/crunchyroll.rs
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,8 @@ mod auth {
}
SessionToken::Anonymous => SessionToken::Anonymous,
};
new_config.session_expire =
Utc::now().add(Duration::try_seconds(login_response.expires_in as i64).unwrap());
new_config.session_expire = Utc::now()
.add(Duration::try_seconds(login_response.expires_in as i64).unwrap());

*config = new_config;
}
Expand Down

0 comments on commit a100cfd

Please sign in to comment.