mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 05:17:02 +08:00
chore: address Rust 1.78 clippy lints (#4545)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -184,7 +184,7 @@ pub async fn add_api_key_expiry_task(
|
||||
api_key: &ApiKey,
|
||||
expiry_reminder_days: Vec<u8>,
|
||||
) -> Result<(), errors::ProcessTrackerError> {
|
||||
let current_time = common_utils::date_time::now();
|
||||
let current_time = date_time::now();
|
||||
|
||||
let schedule_time = expiry_reminder_days
|
||||
.first()
|
||||
@ -341,7 +341,7 @@ pub async fn update_api_key_expiry_task(
|
||||
api_key: &ApiKey,
|
||||
expiry_reminder_days: Vec<u8>,
|
||||
) -> Result<(), errors::ProcessTrackerError> {
|
||||
let current_time = common_utils::date_time::now();
|
||||
let current_time = date_time::now();
|
||||
|
||||
let schedule_time = expiry_reminder_days
|
||||
.first()
|
||||
|
||||
Reference in New Issue
Block a user